Skip to content

Commit a4bd531

Browse files
committed
Merge pull request #5 from CrossLead/speeding_up_ci_builds_with_caching
Speeding Up TravisCI Builds By Caching
2 parents 2b163ac + 397a7c4 commit a4bd531

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
language: node_js
22
node_js: ["0.10"]
3+
cache:
4+
directories:
5+
- node_modules
6+
- bower
37
before_install:
48
- export CHROME_BIN=chromium-browser
59
- export DISPLAY=:99.0
610
- sh -e /etc/init.d/xvfb start
711
before_script:
8-
- npm install -g bower gulp
9-
- bower install
12+
- npm install
13+
- ./node_modules/.bin/bower install

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
},
1111
"dependencies": {},
1212
"devDependencies": {
13+
"bower": "^1.7.9",
1314
"chai": "^1.9.1",
1415
"chai-jquery": "^1.2.3",
1516
"eslint": "^2.11.1",
1617
"eslint-config-standard": "^5.3.1",
1718
"eslint-plugin-promise": "^1.3.1",
1819
"eslint-plugin-standard": "^1.3.2",
19-
"gulp": "^3.8.7",
20+
"gulp": "^3.9.1",
2021
"gulp-concat": "^2.3.4",
2122
"gulp-eslint": "^2.0.0",
2223
"gulp-plumber": "^0.6.6",

0 commit comments

Comments
 (0)