-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy path.travis.yml
30 lines (30 loc) · 956 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
sudo: required
dist: trusty
language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3
- jruby-9.1.5.0
before_install:
- gem update --system
- gem --version
- gem update bundler
bundler_args: "--binstubs --path=vendor --without=guard"
env:
- RIAK_DOWNLOAD_URL=http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.7/ubuntu/trusty/riak_2.0.7-1_amd64.deb
- RIAK_DOWNLOAD_URL=http://s3.amazonaws.com/downloads.basho.com/riak/2.2/2.2.0/ubuntu/trusty/riak_2.2.0-1_amd64.deb
before_script:
- jdk_switcher use oraclejdk8
- sudo ./tools/travis-ci/riak-install -d "$RIAK_DOWNLOAD_URL"
- sudo ./tools/setup-riak -s
script:
- sudo riak-admin security disable
- make test
- sudo riak-admin security enable
- make security-test
notifications:
slack:
secure: nryEZNlLs0xpMJcrmTRzJIaFdfHWigsD4i9zEI8SgDdHqEgJ52/UfCifWHC7N4UckpRkmMUc8yt/Y4YS7G4Gu4yx4qXNIL33VmuudUe2YEVv+oVnG9oHVPkHDvOkRSLlWyAIqd4uXbLzghYBrHigoinfCcmjjRq5HNocRrvnwdE=