It looks like the installation of sass
wasn't enough, and compass
was needed to.
Moreover, I needed to specify that a GUI was needed, and this is done in the first two lines of before_install
So, this is the working .travis.yml
:
language: node_js
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- gem install sass
- gem install compass
node_js:
- '0.10'
- '0.11'
before_script:
- 'npm install -g bower grunt-cli karma'
- 'bower install'
script: grunt