Skip to content

Commit

Permalink
Merge pull request #334 from jakirkham/fix_gce_sge_install_squash
Browse files Browse the repository at this point in the history
Fix Travis (GCE) install of SGE
  • Loading branch information
jakirkham committed Dec 21, 2015
2 parents 936b696 + 44d526c commit 91e4aaa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -9,6 +9,11 @@ before_install:
- deactivate
- cd ../..
- pwd
# Fix the hostname to have fewer characters for SGE.
- cat /etc/hosts # optionally check the content *before*
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
- cat /etc/hosts # optionally check the content *after*
install:
# Download and configure conda.
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
Expand Down

0 comments on commit 91e4aaa

Please sign in to comment.