-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 2.67 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
language: python
sudo: false
python:
- '2.7'
addons:
apt:
packages:
- texlive-latex-base
- texlive-fonts-recommended
- texlive-fonts-extra
- texlive-latex-extra
- texlive-latex-recommended
before_install:
- git config --global user.email "[email protected]"
- git config --global user.name "travisci"
- git config --global credential.helper store --file=$HOME/.git-credentials
- echo "https://${GH_USER}:${GH_TOKEN}@github.com" > $HOME/.git-credentials
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- chmod +x miniconda.sh
- "./miniconda.sh -b -p /home/travis/mc"
- export PATH=/home/travis/mc/bin:$PATH
install:
- export GIT_FULL_HASH=`git rev-parse HEAD`
- conda config --set always_yes true
- conda config --set show_channel_urls true
#- conda config --add channels lightsource2
- conda config --add channels bokeh
- conda config --add channels asmeurer
- conda update conda
- conda install conda-build
- conda create -n testenv pip python=$TRAVIS_PYTHON_VERSION ipywidgets
jsonschema sphinx pyyaml sphinx-bootstrap-theme pandoc
- source activate testenv
script:
- cd $TRAVIS_BUILD_DIR && make html
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
cd $TRAVIS_BUILD_DIR && make github; fi;
after_success:
env:
global:
- secure: vjBaIbDvZDNZxxzLnI/zDM6KT4IUA9uhhe/C2wYU8d09FW4yuIYpTJqwCyRCuuYvXBGej9LP9ZG/0+qO+4T4QfDCVpQKymBcaPY0ccX0MuNcWZTrCpYOGdykwhg8L/2bTu4ovrW/BaF2Ppy6MSDKZeavKlNqzxd4PGZc9lHBxa6gcLvIw00CqIJP3lO3fZCCEUssTIPzYjNHKQ47Ip/Lw3e66ptM2Mxg1jP/6px5zUMxnNWkiNyU6Fi+Ohl+w59Ey5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