forked from ls1intum/Artemis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (34 loc) · 872 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
31
32
33
34
35
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
yarn: true
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
jobs:
include:
- stage: Build
name: "Java"
language: java
jdk: openjdk8
install: skip
script: ./gradlew -Pprod compileJava
- stage: Build
name: "TypeScript"
language: node_js
node_js: 12.2.0
install: yarn install
script: yarn build
- stage: Lint
name: "Java"
language: java
jdk: openjdk8
install: skip
script: ./gradlew spotlessCheck
- stage: Lint
name: "TypeScript"
language: node_js
node_js: 12.2.0
install: yarn install
script: yarn prettier:check