Skip to content

Commit cd2b31c

Browse files
Update ruby
1 parent ab5b40c commit cd2b31c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.travis.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
language: ruby
22
rvm:
3-
- 2.1
4-
5-
# Containers are cool!
3+
- 2.2
4+
5+
# Containers are cool!
66
sudo: false
77

8-
install:
8+
install:
99
- bundle install
1010
- pip install --user awscli
1111
- ~/.local/bin/aws configure set preview.cloudfront true
@@ -32,7 +32,7 @@ deploy:
3232
# Cloudfront invalidation: If not PR, decrypt credentials, then build
3333
# invalidation payload with `travis/inval-list.py` and use locally-installed
3434
# awscli to submit it
35-
after_success:
35+
after_success:
3636
- '[[ $TRAVIS_PULL_REQUEST == "false" ]] && python travis/inval-list.py'
3737

3838
after_deploy:
@@ -47,26 +47,26 @@ after_deploy:
4747
#
4848
# We set them by going to the Travis UI at
4949
# https://travis-ci.org/rust-lang/rust-www/settings and creating the variables
50-
# AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY with the appropriate values.
50+
# AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY with the appropriate values.
5151
#
5252
# The values in those env vars come from the Travis account's IAM credentials,
5353
# which you can get from
5454
# https://console.aws.amazon.com/iam/home?region=us-west-1#users if you're
5555
# logged in as someone with the appropriate permissions. The
5656
# cloudfront distribution-id is listed in the ID field of the distribution for
5757
# www-rust-lang-org on the console at
58-
# https://console.aws.amazon.com/cloudfront/home?region=us-west-1.
58+
# https://console.aws.amazon.com/cloudfront/home?region=us-west-1.
59+
#
60+
# For the deploy step, the secret access key is encrypted on the command line.
61+
# Encryption uses the Travis CLI, so on your laptop,
5962
#
60-
# For the deploy step, the secret access key is encrypted on the command line.
61-
# Encryption uses the Travis CLI, so on your laptop,
62-
#
6363
# $ gem install travis
6464
#
6565
# The string you encrypt for the SECRET_ACCESS_KEY will be the same as the
6666
# string in the AWS_SECRET_ACCESS_KEY variable that you set earlier.
67-
# To encrypt the single variable:
67+
# To encrypt the single variable:
6868
#
6969
# $ travis encrypt -r rust-lang/rust-www "abc123"
7070
#
7171
# The output of that command will contain a `secure: "7890wxyzPQR"` line which
72-
# you then add to `.travis.yml` under `secret_access_key`.
72+
# you then add to `.travis.yml` under `secret_access_key`.

0 commit comments

Comments
 (0)