-
Notifications
You must be signed in to change notification settings - Fork 38
/
.travis.yml
40 lines (40 loc) · 981 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
dist: xenial
addons:
artifacts: true
apt:
packages:
- firefox-geckodriver
language: python
python:
- '3.7'
notifications:
email: true
before_install:
- nvm install node
install:
- sudo add-apt-repository --yes ppa:marutter/rrutter3.5
- sudo apt-get update --yes
- sudo apt install r-api-3.5 --yes
- sudo apt-get install r-cran-mgcv
- sudo su - -c "R -e \"install.packages('ggplot2', repos='http://cran.rstudio.com/')\""
- mkdir $HOME/orca
- wget --quiet https://github.com/plotly/orca/releases/download/v1.2.1/orca-1.2.1-x86_64.AppImage -O $HOME/orca/orca
- chmod +x $HOME/orca/orca
- export PATH="${HOME}/orca:${PATH}"
- pip install --quiet -r requirements.txt
before_script:
- echo $PATH
- $HOME/orca/orca --help
- orca --help
- pip freeze
services:
- xvfb
script: make travis
before_deploy:
- npm install netlify-cli -g
deploy:
provider: script
script: ./netlify_deploy.sh
skip_cleanup: true
on:
all_branches: true