-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
.travis.yml
38 lines (35 loc) · 1.09 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
dist: xenial
addons:
apt:
packages:
- libv8-dev
language: python
jobs:
include:
- language: python
python:
- "3.7"
cache: pip
install:
- pip install --upgrade pip
- pip install -U -r python/requirements.txt dask[dataframe] distributed
script:
- cd python && python setup.py develop test
- python setup.py clean
- rm -rf prophet/stan_model
- wget https://github.com/stan-dev/cmdstan/releases/download/v2.22.1/cmdstan-2.22.1.tar.gz -O /tmp/cmdstan.tar.gz > /dev/null
- tar -xvf /tmp/cmdstan.tar.gz -C /tmp > /dev/null
- make -C /tmp/cmdstan-2.22.1/ build > /dev/null
- CMDSTAN=/tmp/cmdstan-2.22.1 STAN_BACKEND=CMDSTANPY python setup.py develop test
- language: r
r:
- devel
cache: packages
install:
- R -e 'install.packages("devtools")'
- R -e 'devtools::install_deps("R", dependencies = TRUE)'
- cd R
- R CMD build .
- R CMD INSTALL *tar.gz
script:
- R -e 'library(prophet); library(devtools); devtools::test()'