source: trunk/.travis.yml @ 2555

Last change on this file since 2555 was 2555, checked in by tkr, 7 months ago

Try again to update bintray API token in .travis.yml

File size: 2.2 KB
Line 
1language: cpp
2env:
3  global:
4  - secure: BkRn+q76TsHDYCtuI70i5dy08W7/AT5tQ0VRSyvqmWlLZVfqZ9tBrqGoIzE8B6hz0AnKtPACcyVoKbTKEDS6oeUJRsYU2lSWCkulid6n6ehY0FGi4PRGW4aRA6Z/x4NL7tUrcoHMDJkZmyBtICh4TfRyVErUrG33aEYVYRqREoy0zdvX1xneGTzo+w5GXqaslM5DKp4THf/ZNW9X2w40+WPqMsRgafttf302+GqoK8Hyu2Awd1W16x10GEog+Rs2uOkNC9OFFkXShbvavu/MRFtei45u9zt0T5UQrDTPZSjc5JlLPXB8roNvvgi/B87o0COtOv2rTMnv6IrbhlacraXw7K3G7PUymgPQdZSDjyckbwB+pA1XFDSFRXGa5NJ7oNg1X2F0NFR2GLhIyZraaBAZqTRLmNzSzTpMxdQWWi88c1AglEAmSDO8S66MR1OX5eJSNljWV+RXHOh8V0KxngE3LcxkLWSnwnMSxCxCZlBeLcTkk1LfWuK6mXLc4OCj4mDe9sNVnWnFdyYWFEifMXjIkADNeyO0gvzuK9EvUMRFCZilndNwHI2SgWXfmMAOcFdzLheVH0VLlWqZX0e+wnlGYWswnMqWYs86nbY2rthox7vo3SGrRkOb8OmiXMOK28yuZTL0lae6crflIQyMJ+wayKxgrkAr5U6w+zhopUk=
5matrix:
6  include:
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
24  allow_failures:
25  - os: osx
26before_script:
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
37script:
38- bash ./coin.install.sh build --no-prompt --main-proj=$PROJECT --verbosity=2 --test
39after_script:
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 TracBrowser for help on using the repository browser.