mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 05:41:14 +01:00
Re-enable Travis for the new sass-spec branch.
This commit is contained in:
parent
28aaa7a080
commit
57e9652cf4
21
.travis.yml
Normal file
21
.travis.yml
Normal 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
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user