Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cmccarthy1 authored May 12, 2020
1 parent 2478c1b commit fc5fb70
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ install:
- if [[ "x$QLIC_KC" != "x" ]]; then
echo -n $QLIC_KC |base64 --decode > q/kc.lic;
fi
- mkdir hdf5
- cd hdf5
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release && make && make install
- cd ..

script:
- echo "Preparing version $TRAVIS_BRANCH-$TRAVIS_COMMIT"
- cd build
- tar -zcvf hdf5_$TRAVIS_OS_NAME-$TRAVIS_BRANCH.tgz hdf5
- cd ..
- echo "Packaged as hdf5_$TRAVIS_OS_NAME-$TRAVIS_BRANCH.zip"
- if [[ "x$QLIC_KC" != "x" ]]; then
curl -fsSL -o test.q https://github.com/KxSystems/embedpy/raw/master/test.q;
Expand All @@ -66,7 +68,7 @@ deploy:
provider: releases
api_key: "$GH_APIKEY"
file_glob: true
file: hdf5_$TRAVIS_OS_NAME-$TRAVIS_BRANCH.tgz
file: build/hdf5_$TRAVIS_OS_NAME-$TRAVIS_BRANCH.tgz
skip_cleanup: true
on:
tags: true
Expand Down

0 comments on commit fc5fb70

Please sign in to comment.