-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
28 lines (28 loc) · 836 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: python
python: 3.5
env:
matrix:
- TEST_SUITE=static_checks
- TEST_SUITE=py35
install:
- sudo apt-get update -y -qq
# Install Miniconda3
# Current latest version 4.2.11 seem to be broken as misses yaml dependency
- wget https://repo.continuum.io/miniconda/Miniconda3-4.1.11-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Create environment
- conda env create -f environment.yml -q
- source activate image-quantizer
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# Give xvfb some time to start
- sleep 3
script:
- ./test.sh $TEST_SUITE