Skip to content

Commit 2c4caae

Browse files
methanePezi777
andcommitted
Use Python 3 in example (#2397)
* Use Python 3 in example * Update share-files-s3.md Co-authored-by: Petra <[email protected]>
1 parent ea5be89 commit 2c4caae

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

user/build-stages/share-files-s3.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ This example has 2 build stages:
1111
Here's what the `.travis.yml` config could look like:
1212

1313
```yaml
14+
dist: xenial
15+
1416
env:
1517
global:
1618
# include $HOME/.local/bin for `aws`
1719
- PATH=$HOME/.local/bin:$PATH
1820

1921
before_install:
20-
# set up awscli packages
21-
- pip install --user awscli
22+
- pyenv global 3.7.1
23+
- pip install -U pip
24+
- pip install awscli
2225
- mkdir -p ~/$TRAVIS_BUILD_NUMBER
2326
- aws s3 sync s3://travis-build-stages-shared-storage-test/$TRAVIS_BUILD_NUMBER ~/$TRAVIS_BUILD_NUMBER
2427

0 commit comments

Comments
 (0)