Skip to content

Commit

Permalink
Fixes for Travis CI builds
Browse files Browse the repository at this point in the history
Fixed regular expressions to skip tagged commits
Uses 2 cores for faster compilation
Uses a tag "JSBSim-trusty-v2018a" with a build number rather than the cryptic name "untagged-xxxx"
  • Loading branch information
bcoconni committed May 17, 2018
1 parent e64c03b commit 4e2869b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,22 @@ notifications:
# multiple times)
branches:
except:
- /JSBSim-*-v2018a/
- /untagged-*/
- /^JSBSim-.*-v2018a.*$/
- /^untagged-.*$/
before_install:
- pip install cython numpy pandas scipy
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=~/ -DINSTALL_PYTHON_MODULE=ON ..
- make
- make -j2
install:
- make install
script:
- ctest -j2
before_deploy:
- git config --local user.name "bcoconni"
- git config --local user.email "bcoconni@users.sourceforge.net"
- git tag -f JSBSim-trusty-v2018a -m "Ubuntu Trusty 14.04 - Release - x64"
- git push origin :refs/tags/JSBSim-trusty-v2018a
- git tag "JSBSim-trusty-v2018a-$TRAVIS_BUILD_NUMBER" -m "Ubuntu Trusty 14.04 - Release - x64"
deploy:
provider: releases
api_key:
Expand Down

0 comments on commit 4e2869b

Please sign in to comment.