Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan authored Jan 22, 2020
1 parent cb3f8b0 commit da18424
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
language: scala
dist: xenial

# matrix:
# include:
# - language: generic
# - language: java
# - sudo: false
# dist: precise
# env: DIST=precise STACK=EC2
# - sudo: required
# dist: precise
# env: DIST=precise STACK=GCE
# - sudo: false
# dist: trusty
# env: DIST=trusty STACK=EC2
# - sudo: required
# dist: trusty
# env: DIST=trusty STACK=GCE
# - sudo: false
# dist: trusty
# group: edge
# env: DIST=trusty STACK=EC2 GROUP=edge
# - sudo: required
# dist: trusty
# group: edge
# env: DIST=trusty STACK=GCE GROUP=edge
# - os: osx
env:
global:
# include $HOME/.local/bin for `aws`
- PATH=$HOME/.local/bin:$PATH

before_install:
- pyenv global 3.7.1
- pip install -U pip
- pip install awscli
- mkdir -p ~/$TRAVIS_BUILD_NUMBER
- aws s3 sync s3://travis-build-stages-shared-storage-test/$TRAVIS_BUILD_NUMBER ~/$TRAVIS_BUILD_NUMBER

jobs:
include:
- stage: setup files
script: echo one | tee > ~/$TRAVIS_BUILD_NUMBER/one
- stage: setup files
script: echo two | tee > ~/$TRAVIS_BUILD_NUMBER/two
- stage: use shared files
script:
- cat ~/$TRAVIS_BUILD_NUMBER/*
after_success:
- aws s3 rm --recursive s3://travis-build-stages-shared-storage-test/$TRAVIS_BUILD_NUMBER # clean up after ourselves

after_success:
- aws s3 sync ~/$TRAVIS_BUILD_NUMBER s3://travis-build-stages-shared-storage-test/$TRAVIS_BUILD_NUMBER
notifications:
email: false

Expand Down

0 comments on commit da18424

Please sign in to comment.