rmartz/saving-goals:.travis.yml@279eea4
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
{
"env": [
"DIST=precise STACK=EC2"
],
"jdk": "openjdk8",
"dist": "precise",
"sudo": false,
"branch": {
"only": [
"default"
]
},
"matrix": {
"include": [
{
"env": "DIST=trusty STACK=EC2",
"dist": "trusty",
"sudo": false
}
]
},
"script": [
"echo \"feature!\""
],
"install": [
true
],
"language": "java",
"notifications": {
"email": false
}
}