diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..57af0c4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: node_js +node_js: +- "8" + +branches: + only: + - master + +before_script: +- npm install + +script: +- npm run build + +deploy: + provider: pages + skip-cleanup: true + github-token: $GITHUB_TOKEN + keep-history: true + on: + tags: true + local_dir: www diff --git a/README.md b/README.md index e055d20..e1e39d9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Blockly for senseBox app +[![Build Status](https://travis-ci.org/sensebox/blockly-app.svg?branch=master)](https://travis-ci.org/sensebox/blockly-app) Blockly for senseBox is a visual programming editor for the senseBox:edu on mobile. It is based on Google's [Blockly](https://developers.google.com/blockly/) and Carlos Pereira Atencio's [Ardublockly](https://github.com/carlosperate/ardublockly), which has been forked.