This commit is contained in:
Alex Dima 2016-08-17 16:03:57 +02:00
Родитель d9f6fcb537
Коммит a52a2c3be2
4 изменённых файлов: 33 добавлений и 11 удалений

5
.gitignore поставляемый
Просмотреть файл

@ -1,2 +1,3 @@
/node_modules
/out
/node_modules/
/coverage/
/out/

Просмотреть файл

@ -1,9 +1,11 @@
.vscode/
benchmark/
out/
src/
test-cases/
.npmignore
npm-debug.log
gulpfile.js
ThirdPartyNotices.txt
/.vscode/
/benchmark/
/coverage/
/out/
/src/
/test-cases/
/.npmignore
/.travis.yml
/gulpfile.js
/npm-debug.log
/ThirdPartyNotices.txt

16
.travis.yml Normal file
Просмотреть файл

@ -0,0 +1,16 @@
language: node_js
node_js:
- "5.10"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
script:
- npm run compile
- npm run test-travis
# Send coverage data to Coveralls
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"

Просмотреть файл

@ -16,7 +16,9 @@
},
"scripts": {
"watch": "gulp watch",
"compile": "gulp compile",
"test": "mocha out/tests/tests",
"test-travis": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec out/tests/tests",
"benchmark": "node benchmark/benchmark.js"
},
"dependencies": {
@ -28,6 +30,7 @@
"gulp": "^3.9.0",
"gulp-concat": "^2.6.0",
"gulp-typescript": "^2.8.2",
"istanbul": "^0.4.4",
"mocha": "^3.0.2"
}
}