-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
21 lines (21 loc) · 779 Bytes
/
.travis.yml
File metadata and controls
21 lines (21 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
before_install:
- sudo apt-get -y install jq
# - wget `curl https://api.github.com/repos/jgm/pandoc/releases/latest | jq -r '.assets[] | .browser_download_url | select(endswith("deb"))'` -O pandoc.deb
- curl -L https://github.com/jgm/pandoc/releases/download/2.6/pandoc-2.6-1-amd64.deb > pandoc.deb
- sudo dpkg -i pandoc.deb
# - sudo apt-get -y install pandoc
install:
- python -m pip install --user ghp-import
before_script:
- git config user.name "Travis-CI"
- git config user.email "noreply@travis-ci.org"
- COMMIT_MESSAGE="Publishing site on `date "+%Y-%m-%d %H:%M:%S"` from `git log -n 1 --format='commit %h - %s'`"
- export PATH=$PATH:/home/travis/.cabal/bin
script:
- make deploy
notifications:
email: false
# whitelist
branches:
only:
- src