diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..801a37f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: bash + +sudo: required +services: + - docker + +before_script: + - docker pull eciavatta/caronte-env + - docker-compose -f docker-compose.testing.yml up -d --build + +script: + - docker logs -f caronte_caronte_1 | grep "travis" | (read status; if $status -eq "travis_tests_fails"; then exit 1; fi) + +after_script: + - docker logs caronte_caronte_1 + - docker-compose down |