Changeset 2554


Ignore:
Timestamp:
Apr 26, 2019 11:13:33 AM (6 months ago)
Author:
tkr
Message:

Updating bintray API token in .travis.yml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r2407 r2554  
    11language: cpp
    22env:
    3   global:
    4     - secure: "WEPiGQTAVh02Fc5Qxvj2VBZoWBgNjjB6w5MdNwg6NtzFKhbhxB1OqfaVE7EJV1Cw9mf1k5Qcg2fSy9bQEJllWNclRpbRGfEcC+Crx3CyjFOebSr6e6T7lAjIspIVSRf9+y6oPEY2zR8yXoX/HAEYyw3IQzJtKCHIbSJrrZsPomc="
    5    
     3  global:
     4  - secure: D2J4rFtQve+lhvgkez/66nD8QlZLBF7gb91JKNbQ2DV/QtA4ILXqsQkWGarUNYHmxd+hmFF2KDNqBpDmpoTo89EdczhAvROLjMoHJne4nSEzDddNdwNF7glDNfK9dxthdTbccXOQI5fjYO5FcMdXdSUNDLdxIgHPXKvdU4maGQx5O0M/1RJJ5IdOwEl2vBJKkfyq90XWdB6ZEopwuWg3ku9u68jso1pmfRTxOB5SmDzDKQGtWBuV5kkKfZU7ntCP8UHMygxMeFjDjkhIWjW//CCJr9ThCvEJhervJhvCa4oGgMl2Mph/VZHY/+GiFsZHwhsI6LtkbfFw1XWgAkRPcgqvp5IJ9xInABo/HG4nJINNTwH5sdtYiYSmRKlHm0iTnTVwP6l6OAoAaVlQj2kAu8Ijhz456A+qj2QsYGEIZy5voaSk3hZSSrkvbAciAQmOBP/gYIDYb+O1lF1/H1uL/aXJtZOFFhi06Xr3MGVPFaFyIlgYLrtUUD+4xBV/453e32scLJRlUrYvsRHIpBjscdBkSjgXE79zQb5CfMtw7glEaXH5WjBOOqGM4OgeCMXGD3tZmq9EMycf20Qp0rnlmmYJAkYfcYN0SHULaUEPhLRb7WSf/C/0MxnvbQE8ADu/czcbPqq7eR3qMc+Y5gDv+79n369ipubj7D3qhmsYReY=
    65matrix:
    76  include:
    8     - os: linux
    9       addons:
    10         apt:
    11           packages:
    12             - gfortran
    13     - os: osx
    14       osx_image: xcode10
    15       env: OSX=10.13
    16       compiler: clang
    17     - os: osx
    18       osx_image: xcode9.2
    19       env: OSX=10.12
    20       compiler: clang
    21     - os: osx
    22       osx_image: xcode8
    23       env: OSX=10.11
    24       compiler: clang
     7  - os: linux
     8    addons:
     9      apt:
     10        packages:
     11        - gfortran
     12  - os: osx
     13    osx_image: xcode10
     14    env: OSX=10.13
     15    compiler: clang
     16  - os: osx
     17    osx_image: xcode9.2
     18    env: OSX=10.12
     19    compiler: clang
     20  - os: osx
     21    osx_image: xcode8
     22    env: OSX=10.11
     23    compiler: clang
    2524  allow_failures:
    26     - os: osx
    27 
     25  - os: osx
    2826before_script:
    29   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then  export PLATFORM=osx$OSX-x86_64-clang`clang -dumpversion`; fi
    30   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install bash gcc; brew link --overwrite gcc; gfortran --version; fi
    31   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PLATFORM=linux-x86_64-gcc`gcc -dumpversion`; fi
    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   - bash ./coin.install.sh fetch --no-prompt --main-proj=$PROJECT > /dev/null
    36 
     27- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then  export PLATFORM=osx$OSX-x86_64-clang`clang
     28  -dumpversion`; fi
     29- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install bash gcc; brew
     30  link --overwrite gcc; gfortran --version; fi
     31- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PLATFORM=linux-x86_64-gcc`gcc
     32  -dumpversion`; fi
     33- git clone https://github.com/coin-or/COIN-OR-OptimizationSuite COIN
     34- cd COIN
     35- export PROJECT=`echo $TRAVIS_REPO_SLUG | cut -d "/" -f 2`
     36- bash ./coin.install.sh fetch --no-prompt --main-proj=$PROJECT > /dev/null
    3737script:
    38   - bash ./coin.install.sh build --no-prompt --main-proj=$PROJECT --verbosity=2 --test
    39 
     38- bash ./coin.install.sh build --no-prompt --main-proj=$PROJECT --verbosity=2 --test
    4039after_script:
    41   - if [ $TRAVIS_BRANCH = "master" ]; then export VERSION=trunk; else export VERSION=`echo $TRAVIS_BRANCH | cut -d "/" -f 2`; fi
    42   - export TGZ_FILE=$PROJECT-$VERSION-$PLATFORM.tgz
    43   - echo $TGZ_FILE
    44   - tar -czvf $TGZ_FILE build/lib/* build/bin/* build/include/* build/share/* $PROJECT/README.md $PROJECT/INSTALL $PROJECT/LICENSE $PROJECT/$PROJECT/AUTHORS
    45   - 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
     40- if [ $TRAVIS_BRANCH = "master" ]; then export VERSION=trunk; else export VERSION=`echo
     41  $TRAVIS_BRANCH | cut -d "/" -f 2`; fi
     42- export TGZ_FILE=$PROJECT-$VERSION-$PLATFORM.tgz
     43- echo $TGZ_FILE
     44- tar -czvf $TGZ_FILE build/lib/* build/bin/* build/include/* build/share/* $PROJECT/README.md
     45  $PROJECT/INSTALL $PROJECT/LICENSE $PROJECT/$PROJECT/AUTHORS
     46- curl -T $TGZ_FILE -utkralphs:$BINTRAY_API -H "X-Bintray-Publish:1" -H "X-Bintray-Override:1"
     47  https://api.bintray.com/content/coin-or/download/$PROJECT/$VERSION/$TGZ_FILE
Note: See TracChangeset for help on using the changeset viewer.