-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (39 loc) · 3.16 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
env:
global:
- secure: tjtHfySEUu+zGjJCHe113pR5jp3bbICSUZzkvLrPAFAtaZXkl7laHDlWB9DFJZD8iBkjck8YV91K4FQnjQygnxcJCsRRvtDSXP8AWGDEowbAC/qdGOoA2AF4ZytUvL/8BiOSqPdEHBnQ2gPWhitFuURuhMKKvPpDucA8ANdvVKpQ/pFFFOyVLxUOiYnG1c9Mh82zlWp2D4utIyN5QSFND4ok/YCRnhXikmz1+Uk4IQeYlkMYGhk0bvY+EmO5DSbLO3A2LYmKx0/G2F9bnPVmYol/Ohh2TdpS2HSUTP3UuqX1TBuli11IoPNwVg2O3R0jXq2lJ/AabkYpY0H39OyQcYn1gJfYFB2crmnoJ00LS/AYP79QQE0oLQXSXyhH92y5pH01AX5Kih81EhYXYJHe9H37NiIWMRLKJb9L7+9Tev1erQ2CwVZUFA/8UXg4TIdJy/2JIg7IOJccwoQxU638Ax1h4cL5Lmg3XaHBTQSylAAE+oeTWXaOAIT1cBU76yUKCdVWQtm+3w1MovsyFfPQklveOMeY/k+BNLW28Fu50FHikbJQyo/AbtHJbewlXMN51trSi4d2RNelof4P2xZslBKjZ8JnpIyIFmtJUWeck2DauDFI55hWnx7GbOlKSEkmugYsJE/M9/0qOvrFPsNNe0DcngJ1HeXt5HDCdjscPls=
- secure: KK7BH52wJBDmeYlHRtD4O3JC6NzVrTbKv67yPMyGW+7JKR0D7iX1bws2x6l+yk7+7C1AeeDZDc9imDTQW0KTvJxHWtc+OUVCBpt515kRO9gJC1Ykwe3N+Sd6ceuxzXkEf4pnzGAQsdDT6hIiqWIjouKdurHGhMwnopY5MMFsb/BF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Z5OBpInEDRk/1pXzp1W4kh15RESRuAQeQch9e7VrxkiHQbQss9T68n6NZrmdikTnWrdHpDjtWr460yOzdhHWHQ6TH1KB0CanHx7jZjfUJO00UO4yK34=
- GITHUB_URL=https://github.com/pmeisen/tida-m2
- GITHUB_CREDENTIALS=~/.git-credentials
- MAVEN_M2=~/.m2
before_install:
- git config --global user.name "$GITHUB_USER"
- git config --global user.email "$GITHUB_EMAIL"
- git config --global push.default matching
- git config --global credential.helper store --file=$GITHUB_CREDENTIALS
- touch $GITHUB_CREDENTIALS
- echo https://$GITHUB_USER:[email protected]/pmeisen/tida-m2 > $GITHUB_CREDENTIALS
- wget https://github.com/pmeisen/tida-workspace/archive/master.zip -O /tmp/master.zip
- unzip -o /tmp/master.zip -d ../
- mv ../tida-workspace-master ../tida-workspace
- mkdir -p $MAVEN_M2
- cd $MAVEN_M2
- rm -R *
- git clone $GITHUB_URL .
- cd $TRAVIS_BUILD_DIR
install: true
script: ant 03-run-test-suite 04-deploy
after_success:
- cd $MAVEN_M2
- git pull $GITHUB_URL
- git add .
- git commit -m "Travis automated build $TRAVIS_BUILD_NUMBER ($TRAVIS_BUILD_ID)"
- git push $GITHUB_URL
- cd $TRAVIS_BUILD_DIR