-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
25 lines (25 loc) · 2.75 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
language: java
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname
-s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
install:
- mvn install -Dmaven.javadoc.skip=true -B -V
- ls -l
- docker build --build-arg JAR_FILE=/target/backend.jar -t anddopphoopha/se234-lab11-backend .
- docker push anddopphoopha/se234-lab11-backend
- docker pull anddopphoopha/se234-lab11-client
script:
- docker-compose -H "$DOCKER_HOST" up -d
cache:
directories:
- "$HOME/.m2"
env:
global:
- DOCKER_COMPOSE_VERSION=1.18.0
- secure: Kc/U7TThuKg4stbCTLK7vovBCiAE/GXAGoFhmrOIZvCWOjFDAqlvRmDS7lA0ZSwLiQLmvr8xCMGOt2AWLULnqyuzz0H09PtQZ3D5+6hac4QYj5XHyxRiXvWJRGFqZ91JwtZ3D+l69nqK5TCM+s1BuUmpvTGsl6d/BolqiePEo7OASYC2pBkHghr+O/lu2pFRhZE7roKm4A+xhj4JPGc1QjdlUHAsgs80CNIfd8ioFH7A15V2O2s85RzbrnENEfLd4tc5sEJNe7UoQewMlYOyWRH6LrRsphTKZvWepgK+zV45wFZ43IMZpKPA9qw4AQzdxKcDkjxCUVt57XkIofs8f/9sHdNPiOwzVvdjtoMhTIpAu5iVS7e0zcyG+Y3tUHY1PIFX0tCHq5J5QYgTd/qis60GhWl8yqswDddTnqjmpVhkk3EdZfCoUdGAjcIvCb5kDxumFVxL7UGTOrSUBRR55kEQno8pM0y3E+Wc/nArUoniYrmz6v3K6q4TXSkvLEfZcsCHOqECPXfZ7h9snu8vg2GP58mV6y+yM0NPvVSDtWPncFkn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