aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2017-10-11 14:35:21 -0700
committerJon Lund Steffensen <jonlst@gmail.com>2017-10-11 14:45:59 -0700
commitbf72e7f944c4e9d0b6bba6df284ee422f103f73b (patch)
tree788d61efe65201756d91a5efa2bf48221a48b196
parentTime-based configuration (diff)
downloadredshift-ng-bf72e7f944c4e9d0b6bba6df284ee422f103f73b.tar.gz
redshift-ng-bf72e7f944c4e9d0b6bba6df284ee422f103f73b.tar.bz2
redshift-ng-bf72e7f944c4e9d0b6bba6df284ee422f103f73b.tar.xz
Check time-based configuration on CI
-rw-r--r--.travis.yml6
-rw-r--r--appveyor.yml6
2 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 8f01331..294f6fb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
diff --git a/appveyor.yml b/appveyor.yml
index 049a576..0ac3983 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -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: |