Skip to content

Commit

Permalink
Use Python 3 in example (travis-ci#2397)
Browse files Browse the repository at this point in the history
* Use Python 3 in example

* Update share-files-s3.md

Co-authored-by: Petra <[email protected]>
  • Loading branch information
2 people authored and gitandhub1 committed Jun 5, 2020
1 parent 691fb19 commit e2326bc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions user/build-stages/share-files-s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ This example has 2 build stages:
Here's what the `.travis.yml` config could look like:

```yaml
dist: xenial

env:
global:
# include $HOME/.local/bin for `aws`
- PATH=$HOME/.local/bin:$PATH

before_install:
# set up awscli packages
- pip install --user awscli
- 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

Expand Down

0 comments on commit e2326bc

Please sign in to comment.