Changeset 2968


Ignore:
Timestamp:
Apr 5, 2020 10:12:33 AM (3 months ago)
Author:
unxusr
Message:

command specific to one build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r2967 r2968  
    8686  - cp README.md LICENSE AUTHORS dist
    8787  - cd dist
    88   - find /usr | grep -i liblapack.so
    89   - [ -f /usr/lib/lapack/liblapack.so.3gf ] && cp /usr/lib/lapack/liblapack.so.3gf lib/
    90   - [ -f /usr/lib/x86_64-linux-gnu/libgfortran.so.5 ] && cp /usr/lib/x86_64-linux-gnu/libgfortran.so.5 lib/
    91   - [ -f /usr/lib/x86_64-linux-gnu/libgfortran.so.3 ] && cp /usr/lib/x86_64-linux-gnu/libgfortran.so.3 lib/
    92   - [ -f /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ] && cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 lib/
    93   - [ -f /usr/lib/libblas/libblas.so.3gf ] && cp /usr/lib/libblas/libblas.so.3gf lib/
    94   - [ -f /lib/x86_64-linux-gnu/libreadline.so.6 ] && cp /lib/x86_64-linux-gnu/libreadline.so.6 lib/
    95   - [ -f /lib/x86_64-linux-gnu/libbz2.so.1.0 ] && cp /lib/x86_64-linux-gnu/libbz2.so.1.0 lib/
    96   - [ -f /lib/x86_64-linux-gnu/libtinfo.so.5 ] && cp /lib/x86_64-linux-gnu/libtinfo.so.5 lib/
    97   - [ -f /usr/lib/x86_64-linux-gnu/libquadmath.so.0 ] && cp /usr/lib/x86_64-linux-gnu/libquadmath.so.0 lib/
     88  - |
     89    if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$TRAVIS_DIST" == "precise" ]];
     90    then
     91      cp /usr/lib/lapack/liblapack.so.3gf lib/
     92      cp /usr/lib/x86_64-linux-gnu/libgfortran.so.5 lib/
     93      cp /usr/lib/x86_64-linux-gnu/libgfortran.so.3 lib/
     94      cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 lib/
     95      cp /usr/lib/libblas/libblas.so.3gf lib/
     96      cp /lib/x86_64-linux-gnu/libreadline.so.6 lib/
     97      cp /lib/x86_64-linux-gnu/libbz2.so.1.0 lib/
     98      cp /lib/x86_64-linux-gnu/libtinfo.so.5 lib/
     99      cp /usr/lib/x86_64-linux-gnu/libquadmath.so.0 lib/
     100    fi
    98101  - tar -czvf $TGZ_FILE lib/* bin/* include/* share/* README.md LICENSE AUTHORS
    99102  - 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
Note: See TracChangeset for help on using the changeset viewer.