-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
52 lines (45 loc) · 1.08 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: python
cache:
- ccache
- pip
jobs:
include:
- os: linux
python: 2.7
- os: linux
python: 3.6
- os: linux
python: 3.7
- os: linux
python: 3.8
allow_failures:
- os: linux
python: 2.7
- os: linux
python: 3.8
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
install:
- conda create --name=fcis python=$TRAVIS_PYTHON_VERSION -q -y
- source activate fcis
- conda install -c menpo opencv
- pip install Cython
- pip install 'git+https://github.com/pdollar/coco.git#egg=pycocotools&subdirectory=PythonAPI'
- pip install -r requirements.txt
- pip install -e .
before_script:
- pip install flake8
- pip install hacking
- pip install autopep8
- pip install mock
- pip install pytest
script:
- flake8 .
- pytest -m "not gpu" tests
notifications:
email: false