-
Notifications
You must be signed in to change notification settings - Fork 80
/
.travis.yml
28 lines (28 loc) · 1.06 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
sudo: required
dist: trusty
before_install:
- wget https://github.com/scottkosty/install-tl-ubuntu/raw/master/install-tl-ubuntu && chmod +x ./install-tl-ubuntu
- sudo ./install-tl-ubuntu
- export PATH="/opt/texbin:$PATH"
- tex -v
- sudo mkdir -p /usr/share/fonts/opentype/
- sudo mv ./fonts/AdobeFangsongStd-Regular.otf /usr/share/fonts/opentype/
- sudo mv ./fonts/AdobeHeitiStd-Regular\ \(v5.010\).otf /usr/share/fonts/opentype/
- sudo mv ./fonts/AdobeKaitiStd-Regular\ \(v5.010\).otf /usr/share/fonts/opentype/
- sudo mv ./fonts/AdobeSongStd-Light\ \(v5.010\).otf /usr/share/fonts/opentype/
- sudo mkfontscale
- sudo mkfontdir
- sudo fc-cache -fv
- fc-list :lang=zh
- sudo apt-get install python-pygments
script:
- make
after_script:
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] && exit 0'
- make clean
- git checkout master
- git add tcp.pdf
- git config user.name "Travis Ci bot"
- git config user.email "[email protected]"
- git commit -m "[ci skip] auto generate tex.pdf"
- git push --force "https://${GH_TOKEN}@github.com/fzyz999/Analysis_TCP_in_Linux" master:master