Skip to content

Commit 8996b6f

Browse files
committed
Travis still not happy
1 parent 30bb704 commit 8996b6f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ matrix:
4444
env: TRAVIS_PYTHON_VERSION=3.7
4545

4646
install:
47-
- pip3 install cython --install-option="--no-cython-compile"
48-
- pip3 install --no-cache-dir -r requirements-dev.txt
47+
- pip3 install cython --install-option="--no-cython-compile" || pip install cython --install-option="--no-cython-compile"
48+
- pip3 install --no-cache-dir -r requirements-dev.txt || pip install --no-cache-dir -r requirements-dev.txt
4949

5050
script:
5151
# The following syntax with || is taken directly from Travis CI documentation:
@@ -57,7 +57,9 @@ script:
5757
- python3 -c "from compas_fab.backends.vrep.remote_api import vrep" || python -c "from compas_fab.backends.vrep.remote_api import vrep"
5858
- python3 -c "import compas_fab.robots" || python -c "import compas_fab.robots"
5959
- python3 -c "import compas_fab.utilities" || python -c "import compas_fab.utilities"
60-
- python3 -m invoke lint || python -m invoke lint
60+
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]]; then
61+
python3 -m invoke lint || python -m invoke lint;
62+
fi
6163
- python3 -m invoke test --no-doctest || python -m invoke test --no-doctest
6264
- if [[ "$TRAVIS_GENERATE_DOCS" == "true" ]]; then
6365
python3 -m invoke docs || python -m invoke docs;

0 commit comments

Comments
 (0)