forked from treelogic-swe/aws-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (25 loc) · 809 Bytes
/
.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
28
29
30
language: java
env:
global:
secure: d8h/SF0QVN0h/h5aFzPX27XfgkJXgl8ohv1K1T1ghZOzEuVneL1amczml4O6yzVWyMcsIKRj2O1UR0gstU3em4A0fKQpskPB78r4iUzWICHIkgQdW7fyIAua5PNdR/VS5feC21B9Yxf0aEFc0MvwMOiP3NNblQutMIiZVntmi7s=
install:
- npm install
before_script:
- mkdir build/aws-mock-copy -p
- shopt -s extglob
- cp ./!(build) build/aws-mock-copy/ -r
- cd build/aws-mock-copy
- nohup gradle jettyRun &
- cd ../..
- node example/nodejs/LocalProxy.js &
- sleep 5
script:
- gradle checkstylejs Javadoc test
- npm test
after_success: .utility/push-to-gh-pages.sh
after_script:
- ps axu|grep example/nodejs/LocalProxy.js|grep -v grep|awk '{print $2}'|xargs kill -9
- cd build/aws-mock-copy
- gradle jettyStop
- cd ../..
- rm -rf build/aws-mock-copy