Skip to content

Commit 8a487a0

Browse files
Merge pull request libdynd#446 from insertinterestingnamehere/travis_fixes
Prevent false positives when running Travis CI tests
2 parents 272348a + 9cfce2c commit 8a487a0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ matrix:
7474
- conda install --yes numpy libdynd --channel dynd/channel/dev
7575
- conda install $(conda build --output conda.recipe)
7676
- pushd ..
77-
- python -c "import dynd; dynd.test(verbosity=2)"
77+
- python -c "import dynd; dynd.test(verbosity=2, exit=True)"
7878
- popd
7979
after_success:
8080
- if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_PULL_REQUEST == "false" ]; then anaconda --token $ANACONDA_TOKEN upload $(conda build --output conda.recipe) --user dynd --channel dev; fi
8181
- language: python
8282
compiler: gcc
8383
env: CONDA=true
8484
install:
85-
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
85+
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
8686
- bash Miniconda3-latest-Linux-x86_64.sh -b
8787
- export PATH=$HOME/miniconda3/bin:$PATH
8888
- conda install --yes conda-build jinja2
@@ -92,7 +92,7 @@ matrix:
9292
- conda install --yes numpy libdynd --channel dynd/channel/dev
9393
- conda install $(conda build --output conda.recipe)
9494
- pushd ..
95-
- python -c "import dynd; dynd.test(verbosity=2)"
95+
- python -c "import dynd; dynd.test(verbosity=2, exit=True)"
9696
- popd
9797
after_success:
9898
- if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_PULL_REQUEST == "false" ]; then anaconda --token $ANACONDA_TOKEN upload $(conda build --output conda.recipe) --user dynd --channel dev; fi
@@ -113,7 +113,7 @@ matrix:
113113
- conda install --yes numpy libdynd --channel dynd/channel/dev
114114
- conda install $(conda build --output conda.recipe)
115115
- pushd ..
116-
- python -c "import dynd; dynd.test(verbosity=2)"
116+
- python -c "import dynd; dynd.test(verbosity=2, exit=True)"
117117
- popd
118118
after_success:
119119
- if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_PULL_REQUEST == "false" ]; then anaconda --token $ANACONDA_TOKEN upload $(conda build --output conda.recipe) --user dynd --channel dev; fi
@@ -134,7 +134,7 @@ matrix:
134134
- conda install --yes numpy libdynd --channel dynd/channel/dev
135135
- conda install $(conda build --output conda.recipe)
136136
- pushd ..
137-
- python -c "import dynd; dynd.test(verbosity=2)"
137+
- python -c "import dynd; dynd.test(verbosity=2, exit=True)"
138138
- popd
139139
after_success:
140140
- if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_PULL_REQUEST == "false" ]; then anaconda --token $ANACONDA_TOKEN upload $(conda build --output conda.recipe) --user dynd --channel dev; fi

0 commit comments

Comments
 (0)