Skip to content

Commit

Permalink
Added a single script for testing, updated travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Jun 10, 2016
1 parent e2b9f58 commit 18ba351
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
language: node_js

os:
- linux
- osx

node_js:
- "5"
- "5.1"
- "4"
- "4.2"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"

before_script:
- npm install -g gulp
- npm install

script:
- node tests/prepare_tests.js
- gulp --gulpfile tests/gulpfile.js dump
- ./tests/tests.bash
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/Orbitale/Gulpfile.svg)](https://travis-ci.org/Orbitale/Gulpfile)

# Base Gulpfile

This is a sample of Gulpfile to be used with config instead of "re-developing" manually each gulpfile.
Expand Down
16 changes: 16 additions & 0 deletions tests/tests.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

# Go back to root project directory
cd `dirname $0`/../

echo "Removing node modules..."
rm -rf node_modules/

echo "Installing dependencies..."
npm install

echo "Preparing tests..."
node prepare_tests.js

echo "Executing gulp dump..."
./node_modules/.bin/gulp --gulpfile gulpfile.js dump

0 comments on commit 18ba351

Please sign in to comment.