Skip to content

Commit

Permalink
travis begining
Browse files Browse the repository at this point in the history
  • Loading branch information
Gergely Nemeth committed Jan 16, 2014
1 parent 3cb3a17 commit 0ce5348
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
@@ -0,0 +1,4 @@
language: node_js
node_js:
- '0.10'
node build.js
2 changes: 2 additions & 0 deletions README.md
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/mikeal/node-meatspace.png)](https://travis-ci.org/mikeal/node-meatspace)

Node.js Meatspace
==============

Expand Down
9 changes: 9 additions & 0 deletions deploy-ghpages.sh
@@ -0,0 +1,9 @@
#!/bin/bash
node build.js
( git init
git config user.name "Travis-CI"
git config user.email "dev@nodemeatspace.com"
git add index.html
git commit -m "Deployed to Github Pages"
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages >/dev/null
)
3 changes: 2 additions & 1 deletion index.html
Expand Up @@ -44,7 +44,8 @@
</head>
<body>
<a href="https://github.com/mikeal/node-meatspace"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<h1 id="node-js-meatspace">Node.js Meatspace</h1>
<p><a href="https://travis-ci.org/mikeal/node-meatspace"><img src="https://travis-ci.org/mikeal/node-meatspace.png" alt="Build Status"></a></p>
<h1 id="node-js-meatspace">Node.js Meatspace</h1>
<p>This project is to encourage and promote real world in-person events by/for the node.js community.</p>
<p>If you&#39;re interested in sharing events in your area and how they&#39;re being run, please consider submitting a pull request to <a href="https://github.com/knode/meetups">knode.io</a>. These projects are partnering to provide a comprehensive view of Node.js events happening at the local user group level and larger conference scale.</p>
<h2 id="calendar">Calendar</h2>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -11,7 +11,8 @@
"grunt": "0.4.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"deploy": "./deploy-ghpages.sh"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 0ce5348

Please sign in to comment.