-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 878 Bytes
/
.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
29
30
31
32
33
34
35
36
37
38
39
language: node_js
node_js:
- 12
addons:
apt:
packages:
- libgconf-2-4
#cache:
# yarn: true
# directories:
# - ~/.cache
install:
- yarn install
- yarn add typescript-next@npm:typescript@next
- yarn updateCompilerFiles
script:
# - npm run cypress:ci # todo: move cypress to a github action to see if it's more reliable there
# kill anything running in the background
- kill $(jobs -p) || true
before_deploy:
- travis_wait 20 npm run predeploy
# temporary stuff for comments folder
- git clone https://github.com/dsherret/ts-ast-viewer.git comments
- cd comments
- git checkout comments
- yarn install
- travis_wait 20 npm run predeploy
- mv build ../build/comments
- cd ../
env:
- CI=true
deploy:
provider: pages
skip-cleanup: true
local-dir: build
github-token: $GITHUB_TOKEN
keep-history: true
on:
branch: master