feat(sass): Enable by default

This commit is contained in:
Geobert Quach 2018-06-29 18:44:15 +01:00
parent 0cadd66b37
commit 5cd0f12006
4 changed files with 13 additions and 11 deletions

3
.gitignore vendored
View file

@ -1,5 +1,6 @@
/target
/build
/rls
.DS_Store
*.rs.bk
@ -9,4 +10,4 @@
# IntelliJ files
/.idea
*.iml
*.iml

View file

@ -36,13 +36,13 @@ matrix:
rust: 1.27.0 # `stable`: Locking down for consistent behavior
install:
script:
- cargo check --features "sass" --tests
- cargo check --tests
- env: CLIPPY_VERSION="0.0.209"
rust: nightly-2018-06-19
install:
- travis_wait cargo install clippy --version $CLIPPY_VERSION || echo "clippy already installed"
script:
- cargo clippy --features "sass" -- -D clippy
- cargo clippy -- -D clippy
install:
- rustc -Vv
@ -53,7 +53,6 @@ install:
script:
- cargo test --verbose
- cargo test --verbose --no-default-features
- cargo test --verbose --features "sass"
before_deploy:
- sh ci/before_deploy.sh

View file

@ -64,7 +64,7 @@ difference = "2.0"
tempdir = "0.3"
[features]
default = ["syntax-highlight"]
default = ["syntax-highlight", "sass"]
unstable = []
syntax-highlight = ["syntect"]

View file

@ -13,14 +13,16 @@ environment:
- TARGET: x86_64-pc-windows-msvc
CHANNEL: stable
TOOLCHAIN: msvc
PLATFORM: x86_64
# Beta channel
- TARGET: x86_64-pc-windows-msvc
CHANNEL: beta
TOOLCHAIN: msvc
PLATFORM: x86_64
install:
- if "%TOOLCHAIN%" == "msvc" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- if "%TOOLCHAIN%" == "msvc" if "%PLATFORM%" == "x86_64" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
- if "%TOOLCHAIN%" == "msys" set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH%
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %CHANNEL%
@ -30,11 +32,11 @@ install:
test_script:
# we don't run the "test phase" when doing deploys
- if [%APPVEYOR_REPO_TAG%]==[false] ( cargo +%CHANNEL%-%TARGET% build )
- if [%APPVEYOR_REPO_TAG%]==[false] ( cargo +%CHANNEL%-%TARGET% test )
- if [%APPVEYOR_REPO_TAG%]==[false] ( cargo +%CHANNEL%-%TARGET% build --no-default-features )
- if [%APPVEYOR_REPO_TAG%]==[false] ( cargo +%CHANNEL%-%TARGET% test --no-default-features )
- if [%APPVEYOR_REPO_TAG%]==[false] ( cargo build --all )
- if [%APPVEYOR_REPO_TAG%]==[false] ( cargo test --all )
- if [%APPVEYOR_REPO_TAG%]==[false] ( cargo build --all --no-default-features )
- if [%APPVEYOR_REPO_TAG%]==[false] ( cargo test --all --no-default-features )
before_deploy:
- cargo rustc --target %TARGET% --release --bin cobalt -- -C lto
- ps: ci\before_deploy.ps1