forked from twolfson/spritesheet-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (44 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: node_js
node_js:
- "5"
- "4"
- "0.12"
- "0.11"
- "0.10"
matrix:
allow_failures:
- node_js: "0.11"
before_install:
# Install latest npm to avoid semver issues
- curl --location http://rawgit.com/twolfson/fix-travis-ci/master/lib/install.sh | bash -s
# Upgrade Ruby
- rvm install 2.1.1
- rvm --default use 2.1.1
install:
# Install node modules
- npm install
# Install gem and sass
- ruby --version
- wget http://production.cf.rubygems.org/rubygems/rubygems-2.1.7.tgz
- tar xvf rubygems-2.1.7.tgz
- cd rubygems-2.1.7
- sudo ruby setup.rb
- cd ..
- gem --version
- gem install sass
- sass --version
# Install libsass/sassc
- git clone https://github.com/hcatlin/libsass.git libsass
- cd libsass
- git checkout 3.0.2
- cd -
- export SASS_LIBSASS_PATH=$PWD/libsass
- git clone https://github.com/hcatlin/sassc.git sassc
- cd sassc
- git checkout 3.0.2
- make
- sudo ln -s $PWD/bin/sassc /usr/local/bin/sassc
- cd ..
- sassc -h
notifications:
email: false