Skip to content

Commit d10dfed

Browse files
authored
Update .travis.yml
1 parent 708a84c commit d10dfed

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

.travis.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Travis CI configuration.
2+
# Each implementation is listed using the matrix:include configuration.
3+
4+
sudo: false
5+
dist: trusty
16
matrix:
27
include:
38
# C++ implementation. Lives in cpp/, tested with bazel.
@@ -10,21 +15,24 @@ matrix:
1015
- ~/bin/bazel test --test_output=all ${OLC_PATH}:all
1116

1217
# Dart implementation. Lives in dart/
13-
#- language: dart
14-
# dart: stable
15-
# env: OLC_PATH=dart
16-
# script:
17-
# - cd dart && pub get && pub run test
18+
- language: dart
19+
dart: stable
20+
env: OLC_PATH=dart
21+
script:
22+
- cd dart && pub get && pub run test
1823

1924
# Go implementation. Lives in go/
20-
#- language: go
21-
# go: stable
22-
# env: OLC_PATH=go
23-
# script:
24-
# - go test ./go
25+
- language: go
26+
go: stable
27+
env: OLC_PATH=go
28+
script:
29+
- go test ./go
2530

2631
# Java implementation. Lives in java/, tested with bazel.
2732
- language: java
33+
jdk:
34+
- oraclejdk8
35+
- openjdk6
2836
env: OLC_PATH=java
2937
script:
3038
- wget -O install.sh "https://github.com/bazelbuild/bazel/releases/download/0.5.3/bazel-0.5.3-installer-linux-x86_64.sh"
@@ -43,12 +51,12 @@ matrix:
4351
- ~/bin/bazel test --test_output=all ${OLC_PATH}:all
4452

4553
# Javascript implementation. Lives in js/.
46-
#- language: node_js
47-
# node_js:
48-
# - "0.10"
49-
# env: OLC_PATH=js
50-
# script:
51-
# - cd js && npm install && npm test
54+
- language: node_js
55+
node_js:
56+
- "0.10"
57+
env: OLC_PATH=js
58+
script:
59+
- cd js && npm install && npm test
5260

5361
# Python implementation. Lives in python/, tested with bazel.
5462
- language: python
@@ -61,25 +69,17 @@ matrix:
6169
- ~/bin/bazel test --test_output=all ${OLC_PATH}:all
6270

6371
# Ruby implementation. Lives in ruby/
64-
#- language: ruby
65-
# rvm: 2.2
66-
# env: OLC_PATH=ruby
67-
# script:
68-
# - gem install test-unit
69-
# - cd ruby && ruby test/plus_codes_test.rb
72+
- language: ruby
73+
rvm: 2.2
74+
env: OLC_PATH=ruby
75+
script:
76+
- gem install test-unit
77+
- cd ruby && ruby test/plus_codes_test.rb
7078

7179
# Rust implementation. Lives in rust/
72-
#- language: rust
73-
# env: OLC_PATH=rust
74-
# script:
75-
# - cd rust/
76-
# - cargo build --verbose --all
77-
# - cargo test --verbose --all
78-
79-
# Define the list of directories to execute tests in.
80-
#env:
81-
# - TEST_DIR=ruby
82-
# - TEST_DIR=python
83-
84-
# Test script to run. This is called once for each TEST_DIR value above.
85-
#script: ./run_tests.sh
80+
- language: rust
81+
env: OLC_PATH=rust
82+
script:
83+
- cd rust/
84+
- cargo build --verbose --all
85+
- cargo test --verbose --all

0 commit comments

Comments
 (0)