Skip to content

Commit 42a73a2

Browse files
committed
make Travis-CI cleaner
1 parent f32ddcd commit 42a73a2

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

.travis.yml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,25 @@ matrix:
3232
env: PY=3.7
3333

3434
before_install:
35-
- wget http://bit.ly/miniconda -O miniconda.sh
36-
- bash miniconda.sh -b -p $HOME/miniconda
37-
- export PATH="$HOME/miniconda/bin:$PATH"
38-
- conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
39-
- conda update conda
40-
- conda config --add channels conda-forge --force
41-
- conda install pycryptosat
42-
- conda config --set safety_checks disabled
43-
- conda config --set channel_priority strict
44-
- conda create --name TEST python=$PY --file requirements.txt --file requirements-dev.txt
45-
- source activate TEST
46-
# firefox headless driver
47-
- wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz -O geckodriver.tar.gz
48-
- mkdir geckodriver
49-
- tar -xzf geckodriver.tar.gz -C geckodriver
50-
- export PATH=$PATH:$PWD/geckodriver
35+
# Install miniconda and create TEST env.
36+
- |
37+
wget http://bit.ly/miniconda -O miniconda.sh
38+
bash miniconda.sh -b -p $HOME/miniconda
39+
export PATH="$HOME/miniconda/bin:$PATH"
40+
conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
41+
conda update conda
42+
conda config --add channels conda-forge --force
43+
conda install pycryptosat
44+
conda config --set safety_checks disabled
45+
conda config --set channel_priority strict
46+
conda create --name TEST python=$PY --file requirements.txt --file requirements-dev.txt
47+
source activate TEST
48+
# Install firefox headless driver.
49+
- |
50+
wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz -O geckodriver.tar.gz
51+
mkdir geckodriver
52+
tar -xzf geckodriver.tar.gz -C geckodriver
53+
export PATH=$PATH:$PWD/geckodriver
5154
5255
5356
# Test source distribution.

0 commit comments

Comments
 (0)