Changeset 1292


Ignore:
Timestamp:
Jan 29, 2020 6:14:50 AM (2 months ago)
Author:
stefan
Message:

start with some travis jobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/autotools-update/.travis.yml

    r1287 r1292  
    99            - gfortran
    1010            - liblapack-dev
     11      env: ENABLEDEBUG=true
    1112    - os: linux
    1213      dist: bionic
     
    1617            - gfortran
    1718            - liblapack-dev
     19      env: VISHIDDEN=true
    1820    - os: osx
    19       osx_image: xcode11
    20       env: OSX=10.14 CC=gcc CXX=g++
     21      osx_image: xcode11.3
     22      env: OSX=10.14 VISHIDDEN=true
    2123      compiler: clang
    2224    - os: osx
    23       osx_image: xcode11
    24       env: OSX=10.14
     25      osx_image: xcode10.1
     26      env: OSX=10.13 ENABLEDEBUG=true
    2527      compiler: clang
    2628    - os: osx
    27       osx_image: xcode10
    28       env: OSX=10.13
    29       compiler: clang
    30     - os: osx
    31       osx_image: xcode9.2
    32       env: OSX=10.12
     29      osx_image: xcode9.4
     30      env: OSX=10.13
    3331      compiler: clang
    3432
    3533before_script:
    36   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install bash gcc; clang --version; gfortran --version; fi
    37   - if [[ "$TRAVIS_OS_NAME $CC" == "osx gcc" ]]; then export CC=gcc-9 ; export CXX=g++-9 ; $CC --version; $CXX --version; fi
    38   - cd ..
    39   - wget https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew
    40   - export PROJECT_URL=https://github.com/$TRAVIS_REPO_SLUG
    41   - export PROJECT=`echo $TRAVIS_REPO_SLUG | cut -d "/" -f 2`
    42   - bash ./coinbrew fetch $PROJECT_URL:$TRAVIS_BRANCH --no-prompt --skip-update  > /dev/null
     34  - export VISHIDDEN=false #${VISHIDDEN:-false}
     35  - export ENABLEDEBUG=${ENABLEDEBUG:-false}
     36  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install bash gcc; export CC=gcc-9 ; export CXX=g++-9 ; $CC --version; $CXX --version; gfortran --version; fi
    4337
    4438script:
    45   - bash ./coinbrew build $PROJECT --no-prompt --verbosity=1 --test
     39  - git clone --depth 1 https://github.com/coin-or-tools/ThirdParty-ASL
     40  - git clone --depth 1 https://github.com/coin-or-tools/ThirdParty-Metis
     41  - git clone --depth 1 https://github.com/coin-or-tools/ThirdParty-Mumps
     42  - git clone --depth 1 https://github.com/coin-or/CoinUtils
     43  - git clone --depth 1 https://github.com/coin-or/Osi
     44  - git clone --depth 1 https://github.com/coin-or/Clp
     45  - git clone --depth 1 https://github.com/coin-or/Cgl
     46  - git clone --depth 1 https://github.com/coin-or/Cbc
     47  - git clone --depth 1 https://github.com/coin-or/Ipopt
     48  - git clone --depth 1 --branch autotools-update https://github.com/coin-or/Bonmin
     49  - pushd ThirdParty-ASL && ./get.ASL && ./configure --prefix=$HOME/install && make && make install && popd
     50  - pushd ThirdParty-Metis && ./get.Metis && ./configure --prefix=$HOME/install && make && make install && popd
     51  - pushd ThirdParty-Mumps && ./get.Mumps && ./configure --prefix=$HOME/install && make && make install && popd
     52  - pushd CoinUtils/CoinUtils && ./configure --prefix=$HOME/install && make && make install && popd
     53  - pushd Osi/Osi && ./configure --prefix=$HOME/install && make && make install && popd
     54  - pushd Clp/Clp && ./configure --prefix=$HOME/install && make && make install && popd
     55  - pushd Cgl/Cgl && ./configure --prefix=$HOME/install && make && make install && popd
     56  - pushd Cbc/Cbc && ./configure --prefix=$HOME/install && make && make install && popd
     57  - pushd Ipopt && ./configure --prefix=$HOME/install && make && make install && popd
     58  - pushd Bonmin/Bonmin && ./configure --prefix=$HOME/install && make && make install && popd
     59  - mkdir build
     60  - pushd build
     61  - export CFLAGS=""
     62  - export CXXFLAGS=""
     63  - if $VISHIDDEN ; then CFLAGS="$CFLAGS -fvisibility=hidden" ; fi
     64  - if $VISHIDDEN ; then CXXFLAGS="$CXXFLAGS -fvisibility=hidden" ; fi
     65  - export CFGFLAGS=""
     66  - if $ENABLEDEBUG ; then CFGFLAGS="$CFGFLAGS --enable-debug" ; fi
     67  - if ! $ENABLEDEBUG ; then CFLAGS="$CFLAGS -DNDEBUG" ; CXXFLAGS="$CXXFLAGS -DNDEBUG" ; fi
     68  - ../Couenne/configure --prefix=$HOME/install $CFGFLAGS
     69  - make
     70  - make test
     71  - make install
     72  #- cd examples/CppExample && make && ./CppExample
Note: See TracChangeset for help on using the changeset viewer.