-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
50 lines (42 loc) · 906 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: python
matrix:
include:
- os: linux
sudo: false
python: 2.7
- os: linux
sudo: false
python: 3.4
- os: linux
sudo: false
python: 3.5
# - os: osx
# language: generic
# env:
# - TRAVIS_OSX_PYTHON_VERSION=py35
# - TRAVIS_PYTHON_VERSION=3.5.1
cache:
directories:
- $HOME/misc_cache
- $HOME/virtualenv
- $HOME/miniconda
env:
global:
- CACHE_DIR="$HOME/misc_cache"
- MINICONDA_DIR="$HOME/miniconda"
- PYTHONIOENCODING=UTF8
git:
depth: 3
before_install:
- travis/before_install.sh
install:
- source travis/install-conda.sh
#- export PATH="$HOME/miniconda/bin:$PATH"
#- hash -r
- travis/install-environment.sh
- source activate $HOME/cms-env
script:
- travis/tests-unit.sh
- travis/tests-long.sh
after_success:
- coveralls