forked from KrishnaswamyLab/scprep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (49 loc) · 1.19 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
language: python
python:
- "3.5"
- "3.6"
- "3.7-dev"
sudo: required
dist: xenial
addons:
apt:
packages:
- libhdf5-dev
- ffmpeg
- pandoc
- gfortran
- libblas-dev
- liblapack-dev
cache:
- pip
- apt
- directories:
- $HOME/R/Library
install:
- python setup.py install
before_script:
- 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.5\* -y
- export R_LIBS_USER="$HOME/R/Library"
- echo ".libPaths(c('$R_LIBS_USER', .libPaths()))" >> $HOME/.Rprofile
- Rscript travis_setup.R
script:
- pip install -U .[test]
- python setup.py test
- pip install -U .[doc]
- cd doc; make html
- cd ..
after_success:
- coveralls
deploy:
provider: pypi
user: scottgigante
password: ${PYPI_PASSWORD}
distributions: sdist bdist_wheel
skip_existing: true
skip_cleanup: true
on:
tags: true
branch: master