Skip to content

Commit

Permalink
Set up travis builds to ensure gulp builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmackay committed May 6, 2016
1 parent c9244f1 commit 8e85850
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 20 deletions.
5 changes: 3 additions & 2 deletions .jshintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
node_modules
bower_components

assets/js/custom/rtl-switcher.js
assets/js/custom/map.js
assets/js/app.js
assets/js/cloud.js
assets/js/pattern-library/prism.js
assets/js/custom/old
18 changes: 1 addition & 17 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,5 @@
"angular": true,
"console" : false,
"document" : true
},

"predef": [
"protractor",
"browser",
"by",
"element",
"it",
"expect",
"inject",
"jasmine",
"spyOn",
"describe",
"beforeEach",
"afterEach",
"-event"
]
}
}
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
sudo: false
language: node_js
node_js:
- 4
- 5
- node
install:
- npm install -g gulp
- npm install
script:
- gulp build
# - npm run jshint
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"license": "AGPL-3.0",
"homepage": "https://github.com/ushahidi/platform-pattern-library",
"scripts": {
"postinstall": "(which bower && bower install) || exit 0"
"postinstall": "(which bower && bower install) || exit 0",
"jshint": "jshint ."
},
"devDependencies": {
"babel-preset-es2015": "^6.6.0",
Expand All @@ -34,6 +35,7 @@
"gulp-sourcemaps": "~1.6",
"gulp-uglify": "^1.5.3",
"gulp-util": "^3.0",
"jshint": "^2.9.2",
"watchify": "^3.7"
}
}

0 comments on commit 8e85850

Please sign in to comment.