2019-12-08 11:29:28 +00:00
|
|
|
dist: bionic
|
2019-12-07 17:45:42 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2019-12-08 11:29:28 +00:00
|
|
|
- 11
|
2019-12-10 16:56:23 +00:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
2019-12-07 17:45:42 +00:00
|
|
|
cache:
|
2019-12-10 16:56:23 +00:00
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
before_install:
|
|
|
|
- npm install -g @lhci/cli@0.3.x
|
2019-12-07 17:45:42 +00:00
|
|
|
before_script:
|
2019-12-07 21:58:58 +00:00
|
|
|
- npm install -g
|
2019-12-07 17:45:42 +00:00
|
|
|
script:
|
2019-12-31 20:01:45 +00:00
|
|
|
- npm run test
|
2020-01-12 10:25:54 +00:00
|
|
|
- npm run prettier
|
2019-12-10 16:56:23 +00:00
|
|
|
after_success:
|
|
|
|
- lhci autorun --upload.target=temporary-public-storage --staticDistDir=/home/travis/build/k4ustu3h/gitfolio/dist
|
2019-12-08 11:29:28 +00:00
|
|
|
deploy:
|
2019-12-11 15:45:12 +00:00
|
|
|
provider: pages:git
|
|
|
|
token: $GITHUB_TOKEN
|
|
|
|
cleanup: false
|
|
|
|
edge: true # opt in to dpl v2
|
2019-12-08 11:29:28 +00:00
|
|
|
local_dir: dist
|
|
|
|
verbose: true
|
2019-12-11 15:45:12 +00:00
|
|
|
fqdn: k4ustu3h.cf
|