Skip to content

Commit

Permalink
don't run integration tests on darwin
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
  • Loading branch information
TomasTomecek committed Apr 25, 2017
1 parent e11ed19 commit 39ca06d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ matrix:
rust: stable
env: TARGET=x86_64-unknown-linux-gnu
script:
- if [ ${TRAVIS_EVENT_TYPE} = "cron" ] ; then make unstable-environment && make test; else cargo test --verbose; fi
- hack/ci.sh
before_deploy:
- make release
deploy:
Expand Down
9 changes: 9 additions & 0 deletions hack/ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
# Travis CI test runner


if [ "${TRAVIS_EVENT_TYPE}" = "cron" -a "${TARGET}" = "x86_64-unknown-linux-gnu" ] ; then
make build-unstable-container && make test
else
cargo test --verbose
fi

0 comments on commit 39ca06d

Please sign in to comment.