-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
29 lines (20 loc) · 1.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: java
install:
- git clone https://github.com/openworm/org.geppetto.model.git
- cd org.geppetto.model
- if [[ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out master ..." && git checkout master; fi
- git status
- mvn install
- cd ..
- git clone https://github.com/openworm/org.geppetto.core.git
- cd org.geppetto.core
- if [[ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out master ..." && git checkout master; fi
- git status
- mvn install
- cd ..
- git clone https://github.com/openworm/org.geppetto.simulation.git
- cd org.geppetto.simulation
- if [[ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out master ..." && git checkout master; fi
- git status
- mvn install
- cd ..