BetterDiscordApp-rauenzi/.travis.yml

31 lines
453 B
YAML

language: node_js
node_js:
- "node"
git:
autocrlf: true
branches:
only:
- development
install:
- npm ci
script:
- npm run lint-prod
- npm run test-prod
- npm run deploy
before_deploy: "echo 'node_modules' > .gitignore"
deploy:
provider: pages
skip_cleanup: true
github_token: $TRAVIS_ACCESS
keep_history: true
local_dir: .
name: BetterDiscord Deployment
target_branch: gh-pages-development
on:
branch: development