-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
executable file
·18 lines (18 loc) · 803 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
os:
- linux
services:
- docker
install:
- docker build -t jhipster/jhipster .
- docker run --name jhipster -w /home/jhipster/app -p 8080:8080 -p 3000:3000 -p 3001:3001 -d -t jhipster/jhipster
script:
- docker ps
- docker logs jhipster
- chmod -R 777 $TRAVIS_BUILD_DIR/travis
- docker cp $TRAVIS_BUILD_DIR/travis/samples/app-default/.yo-rc.json jhipster:/home/jhipster/app/
- docker cp $TRAVIS_BUILD_DIR/travis/.config jhipster:/home/jhipster/
- docker exec -u jhipster -it jhipster ls -al /home/jhipster /home/jhipster/app /home/jhipster/.config/configstore
- docker exec -u jhipster -it jhipster yo jhipster --force --no-insight
- docker exec -u jhipster -it jhipster ls -al /home/jhipster/app
- docker exec -u jhipster -it jhipster mvn -Pvalidation package
- docker images