mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
36 lines
665 B
YAML
36 lines
665 B
YAML
sudo: false
|
|
|
|
language: node_js
|
|
|
|
before_install:
|
|
- etc/scripts/travis.sh
|
|
|
|
node_js:
|
|
- "8"
|
|
|
|
before_script:
|
|
- export PATH=$PATH:$PWD/.travis-compilers/ghc/bin
|
|
- export PATH=$PATH:$PWD/.travis-compilers/gdc/x86_64-pc-linux-gnu/bin
|
|
- export PATH=$PATH:$PWD/.travis-compilers/rust/bin
|
|
|
|
cache:
|
|
directories:
|
|
- .travis-compilers
|
|
|
|
script:
|
|
- npm test
|
|
- npm run codecov
|
|
- make changelog
|
|
- make 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}
|