Verified Commit 92227e6d authored by Elias Häußler's avatar Elias Häußler 🐛

[TASK] Enable CI and add test script

parent e2bccef6
language: node_js
sudo: true
install:
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
cache:
yarn: true
script:
- yarn run test
......@@ -4,10 +4,11 @@
"description": "Visualization about student growth in Germany",
"main": "gulpfile.js",
"scripts": {
"start": "./node_modules/.bin/gulp",
"build": "./node_modules/.bin/gulp --production && ./node_modules/.bin/gulp serve",
"sources": "./node_modules/.bin/gulp --production",
"serve": "./node_modules/.bin/gulp serve",
"sources": "./node_modules/.bin/gulp --production",
"start": "./node_modules/.bin/gulp",
"test": "./node_modules/.bin/gulp --production && ./node_modules/.bin/gulp",
"watch": "./node_modules/.bin/gulp serve && ./node_modules/.bin/gulp watch"
},
"repository": "https://github.com/eliashaeussler/student-growth",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment