forked from mongodb/mongo-scala-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (38 loc) · 992 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
36
37
38
39
40
41
42
43
44
45
46
47
48
# See http://about.travis-ci.org/docs/user/build-configuration/
language: scala
scala:
- 2.11.11
- 2.12.2
jdk:
- oraclejdk7
- oraclejdk8
# Branches to test
branches:
only:
- master
notifications:
email:
recipients:
- ross@mongodb.com
on_success: change
on_failure: always
matrix:
fast_finish: true
exclude:
- scala: 2.12.2
jdk: oraclejdk7
env:
matrix:
- MONGODB=3.4.3
install:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB}.tgz
- tar xzf mongodb-linux-x86_64-${MONGODB}.tgz
- ${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/mongod --version
before_script:
- mkdir ${PWD}/mongodb-linux-x86_64-${MONGODB}/data
- ${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/mongod --dbpath ${PWD}/mongodb-linux-x86_64-${MONGODB}/data --logpath ${PWD}/mongodb-linux-x86_64-${MONGODB}/mongodb.log --fork
- echo $TRAVIS_SCALA_VERSION
script:
- ./sbt ++$TRAVIS_SCALA_VERSION check
after_script:
- pkill mongod