-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #649 from openworm/development
Release 0.3.7
- Loading branch information
Showing
203 changed files
with
4,657 additions
and
5,619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,62 @@ | ||
language: java | ||
install: | ||
- ./travis-install.sh | ||
script: | ||
- mvn install | ||
- mvn clean install -P master | ||
language: node_js | ||
os: linux | ||
sudo: required | ||
dist: trusty | ||
node_js: | ||
- "7" | ||
env: | ||
global: | ||
secure: EvqtUrZj3GsqzAkjZIVf2ZIze6ec72G8Dnkc0J3lKxwDTK6+KgIYgRWUWWO6tzL5Mn3Y+kkiHvyAkrHNPb2QZVBAdOdE3O308WRi64FF71nurd46zE43K/sSxcX/zCoBtxsz49oRcluPWl+nGDi/iKEysgcnQCvz23VWEYHAsOk= | ||
secure: dn0FPQ5IG4M/3kdwnyI78ElQ308Vc3QnKAvkWfwMFb8QxDqxQdnTo7AV1qTMtbLrDNkeEWIgi4nc7jmXNtvGTwOfhAULVh6606Qs5B+ezTdwzajbbFMI8SKQx/pnTojOMu8dx7V4lMoR/YWcojR0VC1IWVC62TGbSB1k5BDGgH0= | ||
install: | ||
- npm install --silent -g phantomjs | ||
- npm install --silent -g casperjs | ||
- npm install --silent -g slimerjs | ||
- npm install --silent -g gl | ||
|
||
services: | ||
- docker | ||
addons: | ||
firefox: "51.0" | ||
apt: | ||
packages: | ||
- mesa-utils | ||
- xvfb | ||
- libgl1-mesa-dri | ||
- libglapi-mesa | ||
- libosmesa6 | ||
before_script: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
- export SLIMERJSLAUNCHER=/home/travis/firefox-51.0/firefox/firefox | ||
- export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/ | ||
|
||
script: | ||
- echo "Current time :$(date +"%T")" | ||
- cd $TRAVIS_BUILD_DIR/src/main/webapp/js/pages/tests/casperjs | ||
- echo "$TRAVIS_BRANCH" | ||
- docker build -t="geppetto" --build-arg frontendBranch=$TRAVIS_BRANCH https://github.com/openworm/org.geppetto.git#docker-casperjs:utilities/docker/geppetto/ | ||
- echo "Current time :$(date +"%T")" | ||
- docker run -t -dit --name=geppetto_container -h localhost -p 28081:8080 geppetto | ||
- bash $TRAVIS_BUILD_DIR/src/main/webapp/js/pages/tests/casperjs/test_geppetto_server.sh | ||
- sleep 60 | ||
- http_status=$(curl -s -I $1 http://localhost:28081/org.geppetto.frontend | grep HTTP/1.1 | awk {'print $2'}) | ||
- echo "$http_status" | ||
- while [ "$http_status" == "404" ]; do | ||
echo "Restart run"; | ||
docker stop $(docker ps -a -q); | ||
docker rm $(docker ps -a -q); | ||
docker run -t -dit --name=geppetto_container -h localhost -p 28081:8080 geppetto; | ||
bash test_geppetto_server.sh; | ||
sleep 60; | ||
http_status=$(curl -s -I $1 http://localhost:28081/org.geppetto.frontend | grep HTTP/1.1 | awk {'print $2'}); | ||
echo "Done restarting"; | ||
echo "$http_status"; | ||
done; | ||
- "curl -s -I $1 http://localhost:28081/org.geppetto.frontend | grep HTTP/1.1 | awk {'print $2'}" | ||
- sleep 60; | ||
- xvfb-run -a --server-args="-screen 0 1024x768x24" casperjs test --includes=CoreTestsUtility.js CoreTests.js --host=http://localhost:28081/ --engine=slimerjs | ||
- sudo docker cp geppetto_container:/home/developer/virgo/serviceability/logs/log.log /etc | ||
- tail /etc/log.log -n 100 | ||
- echo "Current time :$(date +"%T")" | ||
- docker stop $(docker ps -a -q) | ||
- docker rm $(docker ps -a -q) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 1 addition & 32 deletions
33
src/main/java/org/geppetto/frontend/controllers/GeppettoServlet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 1 addition & 32 deletions
33
src/main/java/org/geppetto/frontend/messaging/CompressionUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 1 addition & 32 deletions
33
src/main/java/org/geppetto/frontend/messaging/DefaultMessageSender.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 1 addition & 32 deletions
33
src/main/java/org/geppetto/frontend/messaging/DefaultMessageSenderFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 1 addition & 32 deletions
33
src/main/java/org/geppetto/frontend/messaging/MessageSender.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 1 addition & 32 deletions
33
src/main/java/org/geppetto/frontend/messaging/MessageSenderEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.