-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy path.travis.yml
56 lines (49 loc) · 1 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
language: python
sudo: false
# Travis whitelists the installable packages, additions can be requested
# https://github.com/travis-ci/apt-package-whitelist
addons:
apt:
packages: &common_packages
- gfortran
- libatlas-dev
- libatlas-base-dev
# Speedup builds, particularly when USE_CHROOT=1
- eatmydata
cache:
directories:
- $HOME/.cache/pip
python:
- 2.7
- 3.4
- 3.5
- 3.5-dev
- 3.6
- 3.6-dev
# - 3.7-dev
install:
- uname -a
- free -m
- df -h
- ulimit -a
- mkdir builds
- pushd builds
# Build into own virtualenv
# We therefore control our own environment, avoid travis' numpy
#
- pip install -U virtualenv
- virtualenv --python=python venv
- source venv/bin/activate
- python -V
- pip install --upgrade pip setuptools
#- pip install nose pytz cython
- popd
#- pip install -U pip
- pip install .
- pip install python-coveralls
script:
- echo "Python version:"
- python --version
- coverage run -m unittest discover quantdsl.tests -v
after_success:
- coveralls