forked from wkentaro/pascal3d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (31 loc) · 753 Bytes
/
.travis.yml
File metadata and controls
41 lines (31 loc) · 753 Bytes
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
sudo: false
cache:
- ccache
- pip
dist: trusty
language: python
python:
- 2.7
before_install:
# install miniconda
- 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:
- ln -s $HOME/miniconda $HOME/.anaconda2
- conda create -q -y --name=pascal3d python=$TRAVIS_PYTHON_VERSION
- ./install.sh
- source ~/miniconda/bin/activate pascal3d
before_script:
- pip install -qq hacking pytest nose
script:
- flake8 .
- pytest tests
branches:
only:
- master
notifications:
email: false