Re-enable Travis for the new sass-spec branch.

This commit is contained in:
Natalie Weizenbaum 2016-11-06 01:33:42 -07:00
parent 28aaa7a080
commit 57e9652cf4
2 changed files with 23 additions and 2 deletions

21
.travis.yml Normal file
View File

@ -0,0 +1,21 @@
# Set the language to Ruby so that we can run sass-spec tests.
language: ruby
env:
- DART_VERSION=1.19.1 ANALYZE=false
- DART_VERSION=latest ANALYZE=true
rvm:
- 2.3.1
cache:
directories:
- $HOME/.pub-cache
# Install the Dart SDK.
install:
- curl -o dart.zip "https://storage.googleapis.com/dart-archive/channels/stable/release/$DART_VERSION/sdk/dartsdk-linux-x64-release.zip"
- unzip dart.zip
- export PATH="$PATH:`pwd`/dart-sdk/bin"
- pub get
script: ./tool/travis.sh

View File

@ -35,8 +35,8 @@ dir=`mktemp -d /tmp/sass-spec-XXXXXXXX`
cd "$dir"
fold "git.sass-spec" \
git clone git://github.com/sass/sass-spec --branch dart-sass-old --depth 1
git clone git://github.com/sass/sass-spec --branch dart-sass --depth 1
cd sass-spec
fold "bundle" bundle install --jobs=3 --retry=3
echo-and-run bundle exec sass-spec.rb --output-style expanded --probe-todo --dart "$dart_sass"
echo-and-run bundle exec sass-spec.rb --probe-todo --dart "$dart_sass"