forked from openssl/openssl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openssl#25 from ruby/docker
Run tests under ruby-openssl-docker container
- Loading branch information
Showing
4 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
language: c | ||
sudo: required | ||
services: | ||
- docker | ||
before_install: | ||
- "ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'" | ||
- "gem update rubygems-update" | ||
- "gem update --system" | ||
- "gem update bundler" | ||
script: "bundle exec rake test" | ||
|
||
rvm: | ||
- 2.2 | ||
- ruby-head | ||
|
||
- sudo apt-get -qq update | ||
install: | ||
- sudo sh -c "curl -L https://github.com/docker/compose/releases/download/1.3.3/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose" | ||
- sudo chmod +x /usr/local/bin/docker-compose | ||
script: | ||
- docker-compose run test | ||
matrix: | ||
allow_failures: | ||
- rvm: ruby-head | ||
include: | ||
- env: RUBY_VERSION=2.2.2 OPENSSL_VERSION=1.0.0s | ||
- env: RUBY_VERSION=2.2.2 OPENSSL_VERSION=1.0.1p | ||
- env: RUBY_VERSION=2.2.2 OPENSSL_VERSION=1.0.2d | ||
fast_finish: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FROM zzak/ruby-openssl-docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
compile: &defaults | ||
build: . | ||
volumes: | ||
- .:/home/openssl/code:rw | ||
environment: | ||
RUBY_VERSION: | ||
OPENSSL_VERSION: | ||
command: bundle exec rake compile | ||
test: | ||
<<: *defaults | ||
command: bundle exec rake test | ||
shell: | ||
<<: *defaults | ||
command: bundle exec irb |