language: objective-c
osx_image: xcode7.1
script:
- bin/xctester tests/*.swift >$TMPDIR/output.txt 2>/dev/null || true
- sed -i '' 's/0\.[0-9]* /0 /' $TMPDIR/output.txt
- diff tests/expected-output.txt $TMPDIR/output.txt

language: objective-c
osx_image: xcode7.3.1
script:
- bin/xctester tests/*.swift >$TMPDIR/output.txt 2>/dev/null || true
- sed -i '' 's/0\.[0-9]* /0 /' $TMPDIR/output.txt
- diff tests/expected-output.txt $TMPDIR/output.txt

Use newer Xcode which actually contains Swift 2.2
Use newer Xcode which actually contains Swift 2.2
