forked from ReactiveMongo/ReactiveMongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
32 lines (32 loc) · 1013 Bytes
/
circle.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
machine:
java:
version: oraclejdk8
environment:
CI_CATEGORY: "INTEGRATION_TESTS"
MONGO_PROFILE: "default"
MONGO_VER: 3
SCALA_VERSION: 2.10.7
AKKA_VERSION: 2.3.13
ITERATEES_VERSION: 2.3.8
SBT_VER: 0.13.16
dependencies:
pre:
- wget -q "https://dl.bintray.com/sbt/debian/sbt-$SBT_VER.deb"
- sudo dpkg -i "sbt-$SBT_VER.deb"
- sudo apt-get install numactl libnuma1 libnuma-dev libnuma-dbg
- ./.ci_scripts/beforeInstall.sh "$CI_CATEGORY" "$MONGO_VER" "$MONGO_PROFILE" /tmp/integration-env.sh
- ./.ci_scripts/fork-mongod.sh /tmp/integration-env.sh:
background: true
cache_directories:
- "~/.ivy2"
- "~/.sbt"
- "~/ssl"
- "~/mongodb-linux-x86_64-amazon-3.2.8"
- "~/mongodb-linux-x86_64-amazon-4.0.0"
test:
override:
- ./.ci_scripts/retry.sh 3 ./.ci_scripts/validate.sh /tmp/integration-env.sh
# - cp */target/test-reports/*.xml "$CIRCLE_TEST_REPORTS"
post:
- export TRAVIS_TAG="$CIRCLE_TAG"
- ./.ci_scripts/afterSuccess.sh