rmartz/saving-goals:.travis.yml@fb3db0a
language: node_js
node_js:
- 10
branches:
only:
- develop
cache:
directories:
- node_modules
before_script:
- npm install -g @angular/cli
script:
- ng lint
- ng build --prod
deploy:
provider: s3
access_key_id: $AWS_ACCESS_KEY
secret_access_key: $AWS_SECRET_KEY
bucket: savings.reedmartz.com
skip_cleanup: true
local_dir: dist/saving-goals
cache_control: "max-age=86400"
on:
branch: develop
notifications:
email:
on_failure: change
on_success: always
Build Config
{
"rvm": [
2,
2.1,
2.2,
"jruby-19mode",
"jruby-9"
],
"sudo": false,
"script": "bundle exec rspec spec --color --format documentation --require spec_helper",
"language": "ruby"
}