-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (35 loc) · 880 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
dist: trusty
sudo: false
language: generic
branches:
only:
- master
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
--output-document miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update --quiet conda
- conda info --all
# addons:
# apt:
# packages:
# - texlive-fonts-recommended
# - texlive-latex-extra
# - texlive-fonts-extra
# - dvipng
# - texlive-latex-recommended
install:
- conda env create --quiet --file build/environment.yml
- source activate literature
script:
- sh build/build.sh
cache:
directories:
- references/generated
after_success:
- test $TRAVIS_BRANCH = "master" &&
test $TRAVIS_PULL_REQUEST = "false" &&
sh ci/deploy.sh