forked from sunpy/sunpy-sphinx-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (55 loc) · 1.76 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
language: python
# Setting sudo to false opts in to Travis-CI container-based builds.
sudo: false
# The apt packages below are needed but can no longer be installed with
# sudo apt-get.
addons:
apt:
packages:
- libatlas-dev
- liblapack-dev
- gfortran
- graphviz
- texlive-latex-extra
- dvipng
cache:
directories:
- $HOME/sunpy/data
python:
- 3.6
# Configure the build environment. Global varibles are defined for all configurations.
env:
global:
- COLUMNS=240
- NUMPY_VERSION='stable'
- ASTROPY_VERSION='stable'
- MAIN_CMD='python setup.py'
- SETUP_CMD='test'
- CONDA_CHANNELS='astropy astropy-ci-extras conda-forge'
- CONDA_DEPENDENCIES='openjpeg Cython jinja2 scipy matplotlib mock requests beautifulsoup4 sqlalchemy scikit-image pytest-mock pyyaml pandas nomkl pytest-cov coverage hypothesis glymur'
- PIP_DEPENDENCIES='suds-jurko sphinx-gallery pytest-sugar'
- EVENT_TYPE='pull_request push'
matrix:
- SETUP_CMD='egg_info'
matrix:
include:
- python: 3.6
env: SETUP_CMD='build_docs -w'
EVENT_TYPE='push pull_request cron'
SPHINX_VERSION='<1.6'
install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
- git clone git://github.com/sunpy/sunpy.git
- source sunpy/continuous-integration/travis/openjpeg.sh # so glymur knows where to look
script:
- python setup.py install
- cd sunpy
- $MAIN_CMD $SETUP_CMD
deploy:
provider: pages
skip_cleanup: true
github_token: $mytoken
local_dir: /home/travis/build/sunpy/sunpy-sphinx-theme/sunpy/docs/_build/html/
on:
branch: master