Skip to content

Commit

Permalink
Update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristopherson committed Jun 12, 2018
1 parent b22e948 commit 1135d15
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@ before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq

# REF for CMAKE Stuff: https://github.com/Microsoft/GSL/blob/master/.travis.yml
install:
- sudo apt-get install -qq gfortran-7
- sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-7 90
- CMAKE_VERSION=3.7.2
- |
CMAKE_URL="https://cmake.org/files/v${CMAKE_VERSION%.[0-9]}/cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz"
mkdir cmake && travis_retry wget --no-check-certificate -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
export PATH=${DEPS_DIR}/cmake/bin:${PATH}
- cmake --version

before_script:
- mkdir build
- cd build
- cmake ..

script: make
script: make

0 comments on commit 1135d15

Please sign in to comment.