forked from ledatelescope/bifrost
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
61 lines (53 loc) · 1.22 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
61
sudo: required
language: python
python:
- 2.7
- 3.6
# PyPy versions
- pypy2.7-6.0
- pypy3
services:
- docker
addons:
apt:
packages:
- build-essential
- curl
- git
- pkg-config
- software-properties-common
- exuberant-ctags
- python-dev
- pylint
jobs:
include:
- stage: docker and deploy docs
python: 2.7
script:
- make docker-cpu
- make docker
- bash ./.travis_deploy_docs.sh
script:
- sudo pip --no-cache-dir install \
setuptools \
numpy \
matplotlib \
contextlib2 \
simplejson \
pint \
graphviz \
git+https://github.com/olsonse/ctypesgen.git@9bd2d249aa4011c6383a10890ec6f203d7b7990f \
coveralls \
codecov
- sudo make -j NOCUDA=1
- sudo make install
- export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
- cd test && sudo -E bash ./travis.sh && cd ..
env:
global:
- ENCRYPTION_LABEL: "886f75ecbd69"
- COMMIT_AUTHOR_EMAIL: "travis@ledatelescope.github.io"
after_success:
- cd test
- coveralls
- codecov