-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy path.travis.yml
More file actions
52 lines (36 loc) · 1.05 KB
/
.travis.yml
File metadata and controls
52 lines (36 loc) · 1.05 KB
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
43
44
45
46
47
48
49
50
sudo: true
language: python
env:
# - SHELL_PATH=build-roboto.sh
- SHELL_PATH=build-amstelvar.sh
before_script:
- pip install fontmake
- pip install --upgrade defcon
# - git clone https://github.com/LettError/glyphNameFormatter.git
# - cd glyphNameFormatter
# - sudo -H python setup.py develop
# - cd ..
- pip install MutatorMath
- sudo apt-get install -y shellcheck
# proof
- pip install brotli zopfli fontTools
- yes '' | pecl install -a yaml
script:
- "shellcheck $SHELL_PATH"
- "sh $SHELL_PATH"
- python make-webfonts.py
- php videoproof/index.php > videoproof/index.html
- rsync -rvl --exclude=".git*" videoproof/ vproof/
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep_history: true
on:
branch: master
target_branch: gh-pages #gh-pages is the default value
# email user who made commit if build fails
notifications:
email:
on_success: never # default: change
on_failure: always # default: always