forked from openproblems-bio/openproblems
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (47 loc) · 1.05 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
language: python
python:
- '3.6'
- 3.7-dev
- 3.8-dev
sudo: required
dist: xenial
addons:
apt:
packages:
- libhdf5-dev
- pandoc
- gfortran
- libblas-dev
- liblapack-dev
- libedit-dev
- llvm-dev
cache:
- pip
- apt
- directories:
- $HOME/R/Library
before_install:
- >-
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
E298A3A825C0D65DFD57CBB651716619E084DAB9
- >-
echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial-cran35/" | sudo
tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- sudo apt-get install r-base-core=3.6\* -y
- export R_LIBS_USER="$HOME/R/Library"
- 'echo ".libPaths(c(''$R_LIBS_USER'', .libPaths()))" >> $HOME/.Rprofile'
install:
- pip install -U .
script:
- python -c "import openproblems"
- 'pip install -U .[test]'
- black . --check --diff --exclude=website
- nose2 openproblems
deploy:
provider: script
skip_cleanup: true
script: cd scripts && chmod +x evaluate.sh && ./evaluate.sh
on:
tags: true
branch: master