Skip to content

Commit 9d1d338

Browse files
authored
Merge pull request #76 from SoftStackFactory/00-travis-ci
Yaml formatting
2 parents 2643c16 + bee55f3 commit 9d1d338

1 file changed

Lines changed: 16 additions & 12 deletions

File tree

.travis.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
language: node_js
22
node_js:
3-
— "8.9.4"
3+
- "8.9.4"
4+
45
branches:
5-
only:
6-
— master
6+
only:
7+
- master
8+
79
before_script:
8-
— npm install -g ionic cordova jest
10+
- npm install -g ionic cordova jest
11+
912
script:
10-
— ionic cordova build browser — prod
13+
- ionic cordova build browser --prod
14+
1115
deploy:
12-
provider: pages
13-
skip-cleanup: true
14-
github-token: $GITHUB_TOKEN
15-
keep-history: true
16-
on:
17-
branch: master
18-
local_dir: www
16+
provider: pages
17+
skip-cleanup: true
18+
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
19+
keep-history: true
20+
on:
21+
branch: master
22+
local_dir: www

0 commit comments

Comments
 (0)