-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
60 lines (55 loc) · 1.62 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
53
54
55
56
57
58
59
60
language: python
python:
- '3.6'
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- sudo apt-get update
- sudo apt-get install -y python-opencv
- sudo apt-get install libtcmalloc-minimal4
- sudo apt-get update
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O anaconda.sh;
- export python_version=$TRAVIS_PYTHON_VERSION
- bash anaconda.sh -b -p $HOME/anaconda
- export PATH="$HOME/anaconda/bin:$PATH"
- export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda config --add channels http://conda.binstar.org/omnia
- conda config --append channels conda-forge
- conda create -y --name tefla python=$python_version
- source activate tefla
- pip install -U pip
- pip install yapf==0.22.0
- pip install coveralls
- pip install requests[security]
- pip install pytest==3.6.1
- pip install pycodestyle==2.5.0
- pip install pylint==2.1.0
- pip install -U pytest-cov
- pip install --upgrade pip setuptools wheel
- pip install entrypoints
- pip install --only-binary=numpy, numpy
- pip install scipy==1.1.0
- pip install Cython==0.27.1
- pip install pyaml==17.12.1
- pip install git+https://github.com/lucasb-eyer/pydensecrf.git
- pip install tensorflow==1.10.0
- pip install opencv-python==3.4.1.15
- pip install mock==2.0.0
- python setup.py install
script:
- pytest -v tests/
- bash tools/ci_build/ci_sanity.sh
after_success:
- coveralls
matrix:
fast_finish: true