-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy path.gitpod.yml
41 lines (36 loc) · 1.09 KB
/
.gitpod.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
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addBadge: true
vscode:
extensions:
- redhat.java
- vscjava.vscode-java-debug
- vscjava.vscode-java-pack
- vscjava.vscode-maven
- vscjava.vscode-java-dependency
- vscjava.vscode-java-test
tasks:
- name: Install Java8
init: |
yes | sdk install java 8.0.345-tem
sdk use java 8.0.345-tem
gp sync-done java8install
- name: Install Dependencies
init: |
gp sync-await java8install # Wait for Java to be installed before building
mvn dependency:resolve
gp sync-done dependencies
- name: Build Code
before: mvn clean
init: |
gp sync-await dependencies # Wait for Java to be installed before building
mvn compile -DskipTests=true
command: mvn test