Changeset 2405 for trunk


Ignore:
Timestamp:
Oct 29, 2018 2:57:38 PM (12 months ago)
Author:
tkr
Message:

Updating Travis and Appveyor to new build script new build images

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r2375 r2405  
    1212            - gfortran
    1313    - os: osx
    14       osx_image: xcode8.2
     14      osx_image: xcode10
     15      env: OSX=10.13
     16      compiler: clang
     17    - os: osx
     18      osx_image: xcode9.2
    1519      env: OSX=10.12
    1620      compiler: clang
     
    1822      osx_image: xcode8
    1923      env: OSX=10.11
    20       compiler: clang
    21     - os: osx
    22       osx_image: xcode6.4
    23       env: OSX=10.10
    2424      compiler: clang
    2525  allow_failures:
     
    3030  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install bash gcc; brew link --overwrite gcc; gfortran --version; fi
    3131  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PLATFORM=linux-x86_64-gcc`gcc -dumpversion`; fi
    32   - git clone https://github.com/coin-or-tools/BuildTools
    33   - bash BuildTools/get.dependencies.sh fetch > /dev/null
     32  - git clone https://github.com/coin-or/COIN-OR-OptimizationSuite COIN
     33  - cd COIN
     34  - export PROJECT=`echo $TRAVIS_REPO_SLUG | cut -d "/" -f 2`
     35  - ./coin.install.sh fetch --no-prompt --main-proj=$PROJECT > /dev/null
    3436
    3537script:
    36   - bash BuildTools/get.dependencies.sh build --verbosity=2 --test
     38  - ./coin.install.sh build --no-prompt --main-proj=$PROJECT --verbosity=2 --test
    3739
    3840after_script:
    3941  - if [ $TRAVIS_BRANCH = "master" ]; then export VERSION=trunk; else export VERSION=`echo $TRAVIS_BRANCH | cut -d "/" -f 2`; fi
    40   - export PROJECT=`echo $TRAVIS_REPO_SLUG | cut -d "/" -f 2`
    4142  - export TGZ_FILE=$PROJECT-$VERSION-$PLATFORM.tgz
    4243  - echo $TGZ_FILE
    43   - tar -czvf $TGZ_FILE build/lib/* build/bin/* build/include/* build/share/* README.md INSTALL LICENSE Cbc/AUTHORS
     44  - tar -czvf $TGZ_FILE build/lib/* build/bin/* build/include/* build/share/* $PROJECT/README.md $PROJECT/INSTALL $PROJECT/LICENSE $PROJECT/$PROJECT/AUTHORS
    4445  - curl -T $TGZ_FILE -utkralphs:$BINTRAY_API -H "X-Bintray-Publish:1" -H "X-Bintray-Override:1" https://api.bintray.com/content/coin-or/download/$PROJECT/$VERSION/$TGZ_FILE
  • trunk/appveyor.yml

    r2369 r2405  
    1111    BINTRAY_USERNAME: tkralphs
    1212  matrix:
    13     - ARCH: win32-msvc9
     13    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
     14      ARCH: win32-msvc9
    1415      HOST_ARCH_ARG: --enable-msvc=MD
    1516      ADD_PATH: /mingw64/bin
    16     - ARCH: win32-msvc12
     17    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
     18      ARCH: win32-msvc14
    1719      HOST_ARCH_ARG: --enable-msvc
    1820      ADD_PATH: /mingw64/bin
    19     - ARCH: win32-msvc14
     21    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
     22      ARCH: win32-msvc15
    2023      HOST_ARCH_ARG: --enable-msvc
    2124      ADD_PATH: /mingw64/bin
    22     - ARCH: x86_64-w64-mingw32
     25    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
     26      ARCH: x86_64-w64-mingw32
    2327      HOST_ARCH_ARG: --host=x86_64-w64-mingw32
    2428      ADD_PATH: /mingw64/bin
    25     - ARCH: i686-w64-mingw32
     29    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
     30      ARCH: i686-w64-mingw32
    2631      HOST_ARCH_ARG: --host=i686-w64-mingw32
    2732      ADD_PATH: /mingw32/bin
    2833
    2934install:
    30   - for /f "delims=" %%i in ('C:\msys64\usr\bin\bash -lc "if [ $APPVEYOR_REPO_BRANCH = 'master' ]; then echo 'trunk'; else echo $APPVEYOR_REPO_BRANCH | cut -d "/" -f 2; fi"') do set VERSION=%%i
    31   - echo %VERSION%
    3235  - IF %ARCH%==win32-msvc9 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat")
    33   - IF %ARCH%==win32-msvc12 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat")
    3436  - IF %ARCH%==win32-msvc14 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat")
     37  - IF %ARCH%==win32-msvc15 (CALL C:\"Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 8.1)
    3538  - C:\msys64\usr\bin\bash -lc ""
    3639
    3740build_script:
    38   - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; git clone https://github.com/coin-or-tools/BuildTools"
    39   - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; BuildTools/get.dependencies.sh fetch --no-third-party"
    40   - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; export PATH=$ADD_PATH:$PATH; BuildTools/get.dependencies.sh build --build=x86_64-w64-mingw32 $HOST_ARCH_ARG --verbosity=2 --test"
     41  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; git clone https://github.com/coin-or/COIN-OR-OptimizationSuite COIN"
     42  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER/COIN; ./coin.install.sh fetch --no-prompt --main-proj=%APPVEYOR_PROJECT_NAME% --no-third-party"
     43  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER/COIN; export PATH=$ADD_PATH:$PATH; ./coin.install.sh build --no-prompt --main-proj=%APPVEYOR_PROJECT_NAME% --no-third-party" --build=x86_64-w64-mingw32 $HOST_ARCH_ARG --verbosity=2 --test"
    4144
    4245after_build:
Note: See TracChangeset for help on using the changeset viewer.