-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
80 lines (73 loc) · 2.27 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
matrix:
include:
- language: python
python:
- 2.7
sudo: required
before_install:
- sudo apt-get install -y --no-install-recommends python-numpy-dev texlive texlive-fonts-extra # fonts-extra needed for compiling R package documentation (inconsolata font)
- sudo apt-get install texlive-latex-base
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
- gfortran
install:
- pip install -U pip pip-tools
- pip install numpy scipy scikit-learn
script:
- make $TEST_SUITE
env:
- TEST_SUITE=test_python.out
- language: python
python:
- 3.6
sudo: required
before_install:
- sudo apt-get install -y --no-install-recommends python-numpy-dev texlive texlive-fonts-extra # fonts-extra needed for compiling R package documentation (inconsolata font)
- sudo apt-get install texlive-latex-base
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
- gfortran
install:
- pip install -U pip pip-tools
- pip install numpy scipy scikit-learn
script:
- make $TEST_SUITE
env:
- TEST_SUITE=test_python.out
- language: r
r:
- 3.5
sudo: required
before_install:
- sudo apt-get install -y --no-install-recommends texlive texlive-fonts-extra # fonts-extra needed for compiling R package documentation (inconsolata font)
- sudo apt-get install texlive-latex-base
- curl -OLs https://eddelbuettel.github.io/r-travis/run.sh && chmod 0755 run.sh
- sudo add-apt-repository -y ppa:edd/r-3.5
- ./run.sh bootstrap
- ./run.sh install_r devtools testthat
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
- gfortran
install:
- Rscript -e 'devtools::install_deps("Rpackage", dep=TRUE)' # need dep=TRUE for Suggests
script:
- make $TEST_SUITE
env:
- TEST_SUITE=test_R.out
after_failure:
- ./run.sh dump_logs
notifications:
email:
on_success: change
on_failure: change
slack:
graal-slack:IYu0NiR9pbqud64UpsZe1pQS