forked from shrinerb/shrine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (32 loc) · 835 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
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
- ruby-head
- jruby-9.2.8.0
- jruby-head
env:
global:
- RACK_ENV=development
- S3_REAL=true
- S3_REGION=us-east-1
- S3_BUCKET=minio-bucket
- S3_ACCESS_KEY_ID=weak_key
- S3_SECRET_ACCESS_KEY=weak_key
- S3_ENDPOINT=http://localhost:9000
- MINIO_ACCESS_KEY=weak_key
- MINIO_SECRET_KEY=weak_key
before_install:
- gem install bundler
- mkdir -p "${HOME}"/minio/data/minio-bucket
- wget -nc -O "${HOME}"/minio/minio https://dl.min.io/server/minio/release/linux-amd64/minio
- chmod +x "${HOME}"/minio/minio
- "${HOME}/minio/minio server ${HOME}/minio/data --address localhost:9000 &>${HOME}/minio/data/server.log &"
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
script: bundle exec rake test
cache: bundler