forked from Onyx-Protocol/Onyx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
66 lines (61 loc) · 1.95 KB
/
wercker.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
box: chaindev/ci:20170710
# To update the docker image for this "box",
# see $CHAIN/docker/ci.
services:
- id: clkao/postgres-plv8
env:
POSTGRES_PASSWORD: p
POSTGRES_USER: u
POSTGRES_DB: core-test
cored:
steps:
- script:
name: core tests
code: |
cp -a $WERCKER_SOURCE_DIR $CHAIN
source /opt/rh/devtoolset-2/enable
mv /usr/local/lib/librocksdb.a $CHAIN/vendor/github.com/facebook/rocksdb/
mkdir -p $CHAIN/vendor/github.com/google/snappy/build
mv /usr/local/lib/libsnappy.a $CHAIN/vendor/github.com/google/snappy/build/
DB_URL_TEST="postgres://u:p@$POSTGRES_PLV8_PORT_5432_TCP_ADDR:$POSTGRES_PLV8_PORT_5432_TCP_PORT/core-test?sslmode=disable" core-tests
- script:
name: gofmt
code: |
run-gofmt
- script:
name: gas
code: |
run-gas
- script:
name: check for tk and xxx
code: |
check-tk-xxx
java:
steps:
- script:
name: java tests
code: |
cp -a $WERCKER_SOURCE_DIR $CHAIN
DATABASE_URL="postgres://u:p@$POSTGRES_PLV8_PORT_5432_TCP_ADDR:$POSTGRES_PLV8_PORT_5432_TCP_PORT/core-test?sslmode=disable" CACHE_DIR="$WERCKER_CACHE_DIR/maven" java-tests
- script:
name: jfmt
code: |
run-jfmt
node:
steps:
- wercker/[email protected]:
cwd: $WERCKER_SOURCE_DIR/sdk/node
- script:
name: node tests
code: |
cp -a $WERCKER_SOURCE_DIR $CHAIN
DATABASE_URL="postgres://u:p@$POSTGRES_PLV8_PORT_5432_TCP_ADDR:$POSTGRES_PLV8_PORT_5432_TCP_PORT/core-test?sslmode=disable" node-tests
ruby:
steps:
- bundle-install:
cwd: $WERCKER_SOURCE_DIR/sdk/ruby
- script:
name: ruby tests
code: |
cp -a $WERCKER_SOURCE_DIR $CHAIN
DATABASE_URL="postgres://u:p@$POSTGRES_PLV8_PORT_5432_TCP_ADDR:$POSTGRES_PLV8_PORT_5432_TCP_PORT/core-test?sslmode=disable" ruby-tests