Check time-based configuration on CI

This commit is contained in:
Jon Lund Steffensen
2017-10-11 14:45:59 -07:00
parent 1e425c66f5
commit bf72e7f944
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -54,3 +54,9 @@ script:
"$TRAVIS_BUILD_DIR"/root/bin/redshift -l 12:-34 -pv
- |
"$TRAVIS_BUILD_DIR"/root/bin/redshift -l 12:-34 -m dummy -vo
- |
echo -e "[redshift]\ndawn-time=6:30\ndusk-time=18:00-19:30" > time.config
- |
"$TRAVIS_BUILD_DIR"/root/bin/redshift -c time.config -pv
- |
"$TRAVIS_BUILD_DIR"/root/bin/redshift -c time.config -m dummy -vo
+6
View File
@@ -28,7 +28,13 @@ build_script:
test_script:
- |
%APPVEYOR_BUILD_FOLDER%\root\bin\redshift.exe -l 12:-34 -pv
- |
%APPVEYOR_BUILD_FOLDER%\root\bin\redshift.exe -l 12:-34 -m dummy -vo
- ps: Set-Content -Value "[redshift]`ndawn-time=6:30`ndusk-time=18:00-19:30`n" -Path time.config
- |
%APPVEYOR_BUILD_FOLDER%\root\bin\redshift.exe -c time.config -pv
- |
%APPVEYOR_BUILD_FOLDER%\root\bin\redshift.exe -c time.config -m dummy -vo
after_build:
- ps: |