Skip to content

Commit

Permalink
travis.yml: fix build
Browse files Browse the repository at this point in the history
Previously builds would fail with 2.7.14 not installed. I think Travis
CI defaulted to having 2.7.15 on the box. Also upgrade to Xenial, it's
newer and nicer.
  • Loading branch information
kevinburke committed Jun 13, 2019
1 parent b4f5583 commit cb5e3c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: go
dist: xenial

go:
- 1.6.x
Expand All @@ -15,7 +16,8 @@ before_script:
- svn --version
# Need a more up to date verion of mercurial to handle TLS with
# bitbucket properly. Also need python greater than 2.7.9.
- pyenv global 2.7.14
- pyenv versions && pyenv rehash && pyenv versions
- pyenv global 2.7.15
- openssl ciphers -v | awk '{print $2}' | sort | uniq
- sudo pip install mercurial --upgrade
# The below is a complete hack to have hg use the pyenv version of python
Expand Down

0 comments on commit cb5e3c2

Please sign in to comment.