forked from lhcb/first-analysis-steps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (21 loc) · 793 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
branches:
only:
- master
install:
- curl -o /tmp/pandoc-1.13.1.zip https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.13.1.zip
- unzip -j /tmp/pandoc-1.13.1.zip pandoc-1.13.1/linux/debian/x86_64/pandoc -d ${HOME}/pandoc
- chmod +x ${HOME}/pandoc/pandoc
- export PATH=$PATH:${HOME}/pandoc
- pip install --user ghp-import
- pip install --user -r requirements.txt
script:
- make preview
# Don't publish pull requests
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && make publish-travis > /dev/null 2>&1 || true'
- make check
env:
global:
secure: GrjBaEAQs3m0eDOFsSXJmQF+Bv/ltiQd0T4EJhnmSCY0ENqpTlXMiPJiVh6RcXVF9hesWZ+s0e3oF0qupqjIpnyG34TLfTljl5CtjZJN0y6TI/BlbX+qQ/vGAHzmVd+N1tZ2saYJnvUS53prcHdfePz4aVXCOMMSzpEUm4KJc1o=
notifications:
slack: lhcb:KdB2DzrWqbbhWJ4XejrY6YSX
email: false