Skip to content

Commit 9a50341

Browse files
committed
Allow docker version to be changed
Also test other versions in travis
1 parent a0c0e7e commit 9a50341

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
language: ruby
22
rvm:
33
- 2.5
4+
- 2.4
5+
- 2.3

docker-ruby

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/bash
2-
docker run -it --rm -v $(pwd):/app -v csscss_gem_data:/usr/local/bundle -w /app ruby $@
2+
VERSION=${VERSION:-latest}
3+
docker run -it --rm -v $(pwd):/app -v csscss_gem_data:/usr/local/bundle -w /app ruby:$VERSION $@

0 commit comments

Comments
 (0)