Created
December 18, 2017 02:38
-
-
Save ykyuen/c7ac2c14f573048c2869885f5103d90d to your computer and use it in GitHub Desktop.
a-simple-gitlab-ci-example-02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lint css: | |
stage: lint-css # <- Should map to the value defined in the 'stages' | |
before_script: # <- Pre-script | |
- npm install | |
cache: # <- Enable caching on files so they are available in the next stage | |
untracked: true # <- Cache the git untracked files (ex. node_modules) | |
only: | |
- master # <- This stage run only on master branch update | |
script: # <- The actually script of this stage | |
- ./node_modules/gulp/bin/gulp.js lint-css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment