[Tests] trying an alternative syntax for gcc upgrades

Jordan Harband 2016-08-15 12:58:51 -07:00
parent f178a09d89
commit c7515bf108
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 8 additions and 5 deletions

View File

@ -1,17 +1,20 @@
language: generic language: generic
sudo: required sudo: required
addons: addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
apt_packages: apt_packages:
- zsh - zsh
- ksh - ksh
cache: cache:
directories: directories:
- $HOME/.stack - $HOME/.stack
- $TRAVIS_BUILD_DIR/.cache - $TRAVIS_BUILD_DIR/.cache
before_install: before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get install gcc-4.8 -y
- $SHELL --version 2> /dev/null || dpkg -s $SHELL 2> /dev/null || which $SHELL - $SHELL --version 2> /dev/null || dpkg -s $SHELL 2> /dev/null || which $SHELL
- curl --version - curl --version
- wget --version - wget --version