clevertechbiz

Clevertech’s projects and business are driven by a unifying goal… helping each other and our clients meet our ultimate ambitions, professionally and personally.

Follow publication

Faster Node.js builds with Travis CI

Martino Fornasa
clevertechbiz
Published in
4 min readDec 29, 2014

--

The basics: Project boilerplate + Github repo

sudo npm install -g eskimo
sudo npm install -g gulp
eskimo create test
cd test
npm install
gulp postinstall
git init
git add .
git commit -m "first commit"
git remote add origin $YOUR_REPO_URL_HERE$
git push -u origin master

Your First Build

language: node_js
node_js:
- "0.10"
services:
- redis-server
- mongodb
git add .travis.yml
git commit -m "Travis build"
git push

Speed up (1): Using the new build infrastructure

Speed up (2): Caching dependencies

cache:
directories:
- node_modules

Freezing your dependencies

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Published in clevertechbiz

Clevertech’s projects and business are driven by a unifying goal… helping each other and our clients meet our ultimate ambitions, professionally and personally.

Written by Martino Fornasa

Independent Consultant & Strategic Advisor | DevOps | Cloud Native — https://fornasa.it/

No responses yet

Write a response