Skip to content

Commit

Permalink
Add travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
jimma committed Jun 7, 2021
1 parent a6b2eb2 commit 750ecc4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions .travis.yml
@@ -1,6 +1,7 @@
install:
- mvn -B clean; java -version
script:
- travis_wait 60 travis-scripts/prebuild.sh
- travis_wait 60 mvn -B -Ptravis,jboss-repository -fae -Dserver.version=$SERVER_VERSION ${ELYTRON:+-Delytron} install

language: java
Expand Down
11 changes: 11 additions & 0 deletions travis-script/prebuild.sh
@@ -0,0 +1,11 @@
#!/bin/bash
set -ex
git clone --depth=1 --branch=ee9-experimental https://github.com/jimma/jboss-jakarta-jaxrs-api_spec.git $TRAVIS_HOME/jboss-jakarta-jaxrs-api_spec
pushd $TRAVIS_HOME/jboss-jakarta-jaxrs-api_spec
mvn --quiet clean install -DskipTest=true
popd

git clone --depth=1 --branch=master https://github.com/stuartwdouglas/optimus.git $TRAVIS_HOME/optimus
pushd $TRAVIS_HOME/optimus
mvn --quiet clean install -DskipTest=true
popd

0 comments on commit 750ecc4

Please sign in to comment.