1
0
Fork 0
mirror of synced 2024-12-21 21:51:08 -05:00

Merge branch 'bchretien/master'

This commit is contained in:
Anish Athalye 2016-01-18 04:16:04 -05:00
commit 38666c8937
2 changed files with 8 additions and 0 deletions

View file

@ -6,5 +6,7 @@ python:
- "3.4" - "3.4"
- "3.5" - "3.5"
sudo: false
script: script:
- ./test/test_travis - ./test/test_travis

View file

@ -8,6 +8,12 @@ set -e
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# Prevent execution outside of Travis CI builds
if [[ "${TRAVIS}" != true || "${CI}" != true ]]; then
echo "Error: `basename "$0"` should only be used on Travis"
exit 2
fi
# Travis runs do not rely on Vagrant # Travis runs do not rely on Vagrant
export USE_VAGRANT=false export USE_VAGRANT=false
export DOTBOT_EXEC="${BASEDIR}/bin/dotbot" export DOTBOT_EXEC="${BASEDIR}/bin/dotbot"