blob: 9de37ee1f8475765a875ce06223b6355ae578822 [file] [log] [blame] [raw]
sudo: false
language: node_js
git:
depth: false # Get all depth so our git-based version/change tracking of policies works
node_js:
- "10"
script:
- npm run ci-lint
- npm run ci-test
- make changelog
- make policies
- make -j$(nproc) travis-dist
deploy:
on:
all_branches:
true
provider: s3
bucket: "compiler-explorer"
skip_cleanup: true
acl: public_read
local_dir: out/dist-bin
upload-dir: dist/travis/${TRAVIS_BRANCH}
provider: s3
bucket: "compiler-explorer"
skip_cleanup: true
acl: public_read
local_dir: out/dist/dist
upload-dir: dist/cdn
after_success: npm run codecov