Skip to content

Commit 9ea0174

Browse files
committed
more work on better travis
1 parent 57ff329 commit 9ea0174

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

handlers/tutorial/tasks/import.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ module.exports = function(options) {
2222

2323
yield* importer.destroyAll();
2424

25+
yield* importer.syncFigures(path.join(root, 'figures.sketch'));
26+
2527
var subRoots = fs.readdirSync(root);
2628

2729
for (var i = 0; i < subRoots.length; i++) {
@@ -30,8 +32,6 @@ module.exports = function(options) {
3032
yield* importer.sync(path.join(root, subRoot));
3133
}
3234

33-
yield* importer.syncFigures(path.join(root, 'figures.sketch'));
34-
3535
yield* importer.generateCaches();
3636

3737
console.log("DONE");

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"koa-logger": "*",
5353
"koa-mount": "*",
5454
"koa-passport": "*",
55+
"passport": "*",
5556
"koa-request": "*",
5657
"koa-router": "*",
5758
"koa-send": "*",

scripts/travis/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ sudo /etc/init.d/nginx restart
8383
gulp build --harmony
8484

8585
if [ -d /js/javascript-tutorial ]; then
86-
gulp build tutorial:import --harmony --root ./javascript-tutorial
86+
gulp build tutorial:import --harmony --root /js/javascript-tutorial
8787
fi
8888

8989
if [[ ! -z $TRAVIS_DEBUG ]]; then

tasks/minify.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ module.exports = function(options) {
2424

2525
gutil.log("minify " + root);
2626

27-
return gulp.src(root + '/**/*.{svg,png,jpg,gif}')
27+
return gulp.src(root + '/**/*.{png,jpg,gif}')
28+
//return gulp.src(root + '/**/*.{svg,png,jpg,gif}')
2829
.pipe(gp.debug())
2930

3031
.pipe(gp.imagemin({

0 commit comments

Comments
 (0)