Skip to content

Commit

Permalink
Merge pull request alphagov#145 from alphagov/add-travis-yaml-file
Browse files Browse the repository at this point in the history
Add a travis yaml file
  • Loading branch information
AndrewVos committed Dec 22, 2015
2 parents 55906ec + e98e491 commit aededeb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: node_js
node_js:
- 0.1
before_install:
- npm install -g grunt-cli
install:
- npm install
script:
- grunt test

notifications:
email: false

deploy:
provider: heroku
app: govuk-elements-test
api_key:
secure: MSMzniJpxcjP1jbsjqaAR/bU/FtGRrYYrrIekzaXNXtUiwNOsnd2MMMiBiuwzRaqHlEZzUkh70jyCuAoztnMzr5vAlwy9IW5BnGhacbDZsyFZ8AS1Z0Glq0l7q0nh1akCEVYhdGyABrc2NMaAqtaVovEbAfZYCrSX8Uu0CRbPfY=
on: master

sudo: false
8 changes: 8 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,14 @@ module.exports = function (grunt) {
'concurrent:target'
]);

grunt.registerTask(
'test',
'default',
function () {
grunt.log.writeln('Test that the app runs');
}
);

grunt.registerTask(
'lint',
'scsslint'
Expand Down

0 comments on commit aededeb

Please sign in to comment.