aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: |