Compile sass with gulp

Hello,
Firstly, can I compile sass files with gulp on Travis CI ?
If yes, how to achive this ?
Actually my .travis.yml file look like this:
language: node_js

node_js:
  #Version de NodeJS à utiliser
  - "8"

before_install:
  #Installation de npm et modules selon package.json
  - npm install

before_script:
  # Installation des modules avec npm
  - npm install -g gulp-cli
  - npm install --save-dev gulp@^3.0.0
  - npm install --save-dev gulp-load-plugins
  - npm install --save-dev browser-sync
  - npm install --save-dev autoprefixer gulp-postcss
  - npm install --save-dev gulp-cache
  - npm install enquire.js
  - npm install browser-sync --save-dev

script:
  #lancement de la tache Gulp par défaut pour compiler - sinon spécifier tache
  #- gulp
  - gulp localcompile

But this is relauched if I push a scss modified file, and no compilation at the end.
If someone can tell me how to do that ?
Thanks