Changeset 2953


Ignore:
Timestamp:
Apr 3, 2020 8:59:10 PM (3 months ago)
Author:
unxusr
Message:

precise: install compiler in script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r2952 r2953  
    1616      dist: precise
    1717      env: BUILD_STATIC=false
    18       addons:
    19         apt:
    20           sources:
    21             - sourceline: 'ppa:ubuntu-toolchain-r/test'
    22           packages:
    23             - gcc-8
    24             - liblapack-dev
    25         env:
    26           - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8 && FC=gfortran-8 && F77=gfortran-8"
     18      before_install:
     19        - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
     20        - sudo apt-get update -qq
     21        - sudo apt-get install gcc-8 liblapack-dev
     22        - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
     23        - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 90
     24        - sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-8 90
     25        - sudo update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-8 90
    2726    - os: linux
    2827      dist: bionic
Note: See TracChangeset for help on using the changeset viewer.