Skip to content

Instantly share code, notes, and snippets.

@topera
Last active June 26, 2018 02:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save topera/c35f2884821aa4a471288321b0c67dcc to your computer and use it in GitHub Desktop.
Save topera/c35f2884821aa4a471288321b0c67dcc to your computer and use it in GitHub Desktop.
How to run SASS inside Travis CI

SASS Inside Travis CI

Working Solution

I was able to run it installing npm and then installing sass package of npm. I needed also to add a workaround to Error: CERT_UNTRUSTED error, using the config set registry command.

before_install:
  - sudo apt update
  - sudo apt install npm
  - sudo npm config set registry http://registry.npmjs.org/
  - sudo npm install -g sass

Others tries

Ruby Package

sudo gem install sass --version "=3.5.6" Not working.

Ubuntu Package

sudo apt install ruby-sass Not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment