forked from tumblr/collins
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
29 lines (29 loc) · 1.07 KB
/
.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
language: scala
# Activator & Travis image SBT conflicts
# https://github.com/travis-ci/travis-ci/issues/3140
before_install: unset SBT_OPTS JVM_OPTS
# according to http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS
# every travis CI has a version of ruby installed
# that's why we can do this
before_script:
- wget http://downloads.typesafe.com/typesafe-activator/1.3.4/typesafe-activator-1.3.4-minimal.zip
- unzip -q typesafe-activator-1.3.4-minimal.zip
- if $RUN_RUBY; then gem install bundler; fi
jdk:
- oraclejdk7
scala:
- 2.11.1
# this will make sure we run each of the scala and ruby tests once
env:
- RUN_SCALA=true RUN_RUBY=false
matrix:
include:
- jdk: oraclejdk7
env: RUN_RUBY=true RUN_SCALA=false GEM_NAME=collins-client
- jdk: oraclejdk7
env: RUN_RUBY=true RUN_SCALA=false GEM_NAME=collins-state
script:
- if $RUN_SCALA; then activator-1.3.4-minimal/activator test; fi
- if $RUN_RUBY; then cd support/ruby/$GEM_NAME; bundle install --path ./vendor/bundle; bundle exec rake; fi
notifications:
irc: "chat.freenode.net#collins"