forked from EthVM/EthVM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·72 lines (65 loc) · 1.64 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
sudo: true
language: generic
matrix:
include:
-
env:
- ID=api/lint
- METADATA_ID=api
- FLAVOR=""
- PROJECT_DIR=$TRAVIS_BUILD_DIR/apps/api
- INSTALL='yarn install'
- ACTION='yarn lint'
language: node_js
node_js:
- "10"
-
env:
- ID=api/test
- METADATA_ID=api
- FLAVOR=""
- PROJECT_DIR=$TRAVIS_BUILD_DIR/apps/api
- INSTALL='yarn install'
- ACTION='yarn test'
language: node_js
node_js:
- "10"
-
env:
- ID=explorer/lint
- METADATA_ID=explorer
- FLAVOR=development-ci
- PROJECT_DIR=$TRAVIS_BUILD_DIR/apps/explorer
- INSTALL='yarn install'
- ACTION='yarn lint'
language: node_js
node_js:
- "10"
-
env:
- ID=processing/lint
- PROJECT_DIR=$TRAVIS_BUILD_DIR/apps/processing
- INSTALL=''
- ACTION='./gradlew --no-daemon ktlintCheck'
language: generic
-
env:
- ID=processing/kafka-streams/unit-tests
- PROJECT_DIR=$TRAVIS_BUILD_DIR/apps/processing
- INSTALL=''
- ACTION='./gradlew --no-daemon :kafka-streams:test'
language: generic
before_install:
- chmod +x $TRAVIS_BUILD_DIR/.travis/before-install.sh
- $TRAVIS_BUILD_DIR/.travis/before-install.sh
install:
- cd $PROJECT_DIR
- eval $INSTALL
script:
- cd $PROJECT_DIR
- eval $ACTION
after_success:
- chmod +x $TRAVIS_BUILD_DIR/.travis/after-success.sh
- test $TRAVIS_BRANCH = "develop" && $TRAVIS_BUILD_DIR/.travis/after-success.sh $METADATA_ID $FLAVOR
notifications:
email: false