File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ travis.yml
Original file line number Diff line number Diff line change 1
1
# adventofcode-rb-2016
2
2
3
+ [ ![ Build Status] ( https://travis-ci.org/petertseng/adventofcode-rb-2016.svg?branch=master )] ( https://travis-ci.org/petertseng/adventofcode-rb-2016 )
4
+
3
5
I'm reluctantly doing [ Advent of Code] ( http://adventofcode.com ) again.
4
6
5
7
I say "reluctantly" because I got dragged into it by a friend midway through last year, and felt the need to follow through.
Original file line number Diff line number Diff line change
1
+ language : ruby
2
+ rvm :
3
+ - ' 2.4'
4
+ - ' 2.3'
5
+ matrix :
6
+ allow_failures :
7
+ - rvm : ' 2.3'
8
+ script : |
9
+ bad=""
10
+ for f in *.rb; do
11
+ if ! ruby -c $f; then
12
+ bad="$bad $f"
13
+ fi
14
+ done
15
+ if [ -n "$bad" ]; then
16
+ echo "bad: $bad"
17
+ exit 1
18
+ fi
You can’t perform that action at this time.
0 commit comments