Skip to content

Commit 0b3bb40

Browse files
illegalprimeMichael Eden
authored and
Michael Eden
committed
Run autobahn on PRs, check for autobahn regression
This will run autobahn tests on every travis build and it will also check if the results have gotten worse through the use of the results JSON file in autobahn/
1 parent 8ee9f02 commit 0b3bb40

File tree

6 files changed

+7350
-19
lines changed

6 files changed

+7350
-19
lines changed

.gitignore

+6-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ Icon
4343
.AppleDB
4444
.AppleDesktop
4545
Network Trash Folder
46-
Temporary Items
46+
Temporary Items
47+
48+
# Autobahn Output
49+
autobahn/client
50+
autobahn/server
51+

.travis.yml

+4-18
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,10 @@ script:
1212
- cargo bench --features nightly
1313

1414
after_success:
15-
- >
16-
[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && sudo pip install ghp-import urllib3[secure]
17-
- >
18-
[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && sudo apt-get install python-unittest2 && sudo pip install autobahntestsuite
19-
- >
20-
[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && {
21-
echo "Running Autobahn TestSuite for client" ;
22-
wstest -m fuzzingserver -s ./autobahn/fuzzingserver.json & FUZZINGSERVER_PID=$! ;
23-
sleep 10 ;
24-
./target/debug/examples/autobahn-client ;
25-
kill -9 ${FUZZINGSERVER_PID} ; }
26-
- >
27-
[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && {
28-
echo "Running Autobahn TestSuite for server" ;
29-
./target/debug/examples/autobahn-server & WSSERVER_PID=$! ;
30-
sleep 10 ;
31-
wstest -m fuzzingclient -s ./autobahn/fuzzingclient.json ;
32-
kill -9 ${WSSERVER_PID} ; }
15+
- sudo apt-get install python-unittest2
16+
- sudo pip install ghp-import urllib3[secure] autobahntestsuite
17+
- echo "Running Autobahn TestSuite for client" && ./scripts/autobahn-client.sh
18+
- echo "Running Autobahn TestSuite for server" && ./scripts/autobahn-server.sh
3319
- >
3420
[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && {
3521
echo "Building docs and gh-pages" ;

0 commit comments

Comments
 (0)