.travis.yml
sudo: required
dist: xenial
branches:
except:
- /^(v\d+\.\d+\.\d+)|gh-pages$/
language: node_js
node_js:
- "11.3"
cache: npm
before_script:
- "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash"
script:
- fossa init
- fossa analyze
- npm run export
after_success:
- fossa test
env:
- NODE_ENV=production
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: master
local-dir: out
target-branch: gh-pages
keep-history: true
fqdn: vortex.name
email: deploy@travis-ci.org
name: Travis CI
committer-from-gh: false
allow-empty-commit: true
verbose: true