File tree 2 files changed +17
-4
lines changed
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,28 @@ addons:
28
28
# GUI
29
29
- python3
30
30
31
- install : |
31
+ before_install : |
32
32
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
33
33
brew install gettext
34
34
brew link --force gettext
35
35
brew install intltool
36
36
brew install python3
37
37
fi
38
38
39
- script :
39
+ install :
40
40
- ./bootstrap
41
+ - mkdir "$TRAVIS_BUILD_DIR/root"
41
42
- |
42
43
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
43
- ./configure --enable-drm --enable-vidmode --enable-randr --enable-geoclue2 --enable-gui
44
+ ./configure --prefix="$TRAVIS_BUILD_DIR/root" -- enable-drm --enable-vidmode --enable-randr --enable-geoclue2 --enable-gui
44
45
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
45
- ./configure --enable-corelocation --enable-quartz --enable-gui
46
+ ./configure --prefix="$TRAVIS_BUILD_DIR/root" -- enable-corelocation --enable-quartz --enable-gui
46
47
fi
48
+ - make -j2 install
47
49
- make -j2 distcheck
50
+
51
+ script :
52
+ - |
53
+ "$TRAVIS_BUILD_DIR"/root/bin/redshift -l 12:-34 -pv
54
+ - |
55
+ "$TRAVIS_BUILD_DIR"/root/bin/redshift -l 12:-34 -m dummy -vo
Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ build_script:
25
25
- C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make distcheck DISTCHECK_CONFIGURE_FLAGS=\"$CONFIGURE_FLAGS\""
26
26
- C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make install"
27
27
28
+ test_script :
29
+ - |
30
+ %APPVEYOR_BUILD_FOLDER%\root\bin\redshift.exe -l 12:-34 -pv
31
+ %APPVEYOR_BUILD_FOLDER%\root\bin\redshift.exe -l 12:-34 -m dummy -vo
32
+
28
33
after_build :
29
34
- ps : |
30
35
$ZIP_NAME = "redshift-windows-$env:arch"
You can’t perform that action at this time.
0 commit comments