mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-29 15:44:26 +00:00
Remove tests tasks and CI configuration
We don't have any tests in this repository
This commit is contained in:
parent
f6897ad41f
commit
96f0b5fbd6
13
.travis.yml
13
.travis.yml
@ -1,13 +0,0 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "0.12"
|
||||
- "0.11"
|
||||
- "0.10"
|
||||
notifications:
|
||||
email: false
|
||||
webhooks:
|
||||
urls:
|
||||
- https://webhooks.gitter.im/e/8b150eaf525c280ec2ac
|
||||
on_success: change
|
||||
on_failure: always
|
||||
on_start: never
|
39
appveyor.yml
39
appveyor.yml
@ -1,39 +0,0 @@
|
||||
# appveyor file
|
||||
# http://www.appveyor.com/docs/appveyor-yml
|
||||
|
||||
init:
|
||||
- git config --global core.autocrlf input
|
||||
|
||||
cache:
|
||||
- C:\Users\appveyor\.node-gyp
|
||||
- '%AppData%\npm-cache'
|
||||
|
||||
# what combinations to test
|
||||
environment:
|
||||
matrix:
|
||||
- nodejs_version: 0.10
|
||||
- nodejs_version: 0.11
|
||||
- nodejs_version: 0.12
|
||||
|
||||
install:
|
||||
- ps: Install-Product node $env:nodejs_version x64
|
||||
- npm -g install npm@2.12.1
|
||||
- set PATH=%APPDATA%\npm;%PATH%
|
||||
- npm install -g gulp
|
||||
- npm install
|
||||
|
||||
build: off
|
||||
|
||||
test_script:
|
||||
- node --version
|
||||
- npm --version
|
||||
- ps: gulp test
|
||||
- cmd: gulp test
|
||||
|
||||
notifications:
|
||||
|
||||
- provider: Webhook
|
||||
url: https://webhooks.gitter.im/e/3d5ed28fa9ae4c25f46f
|
||||
on_build_success: false
|
||||
on_build_failure: true
|
||||
on_build_status_changed: true
|
@ -1,6 +1,5 @@
|
||||
path = require('path')
|
||||
gulp = require('gulp')
|
||||
mocha = require('gulp-mocha')
|
||||
coffee = require('gulp-coffee')
|
||||
coffeelint = require('gulp-coffeelint')
|
||||
shell = require('gulp-shell')
|
||||
@ -12,17 +11,10 @@ OPTIONS =
|
||||
files:
|
||||
coffee: [ 'lib/**/*.coffee', 'gulpfile.coffee' ]
|
||||
app: [ 'lib/**/*.coffee', '!lib/**/*.spec.coffee' ]
|
||||
tests: 'tests/**/*.spec.coffee'
|
||||
directories:
|
||||
build: 'build/'
|
||||
|
||||
gulp.task 'test', ->
|
||||
gulp.src(OPTIONS.files.tests, read: false)
|
||||
.pipe(mocha({
|
||||
reporter: 'min'
|
||||
}))
|
||||
|
||||
gulp.task 'coffee', [ 'test', 'lint' ], ->
|
||||
gulp.task 'coffee', [ 'lint' ], ->
|
||||
gulp.src(OPTIONS.files.app)
|
||||
.pipe(coffee())
|
||||
.pipe(gulp.dest(OPTIONS.directories.build))
|
||||
@ -38,5 +30,5 @@ gulp.task 'build', [
|
||||
'coffee'
|
||||
]
|
||||
|
||||
gulp.task 'watch', [ 'test', 'lint', 'coffee' ], ->
|
||||
gulp.task 'watch', [ 'lint', 'coffee' ], ->
|
||||
gulp.watch([ OPTIONS.files.coffee ], [ 'coffee' ])
|
||||
|
@ -14,7 +14,6 @@
|
||||
},
|
||||
"scripts": {
|
||||
"prepublish": "gulp build",
|
||||
"test": "gulp test",
|
||||
"doc": "mkdir -p doc/ && coffee extras/capitanodoc/index.coffee > doc/cli.markdown"
|
||||
},
|
||||
"keywords": [
|
||||
@ -24,18 +23,12 @@
|
||||
"author": "Juan Cruz Viotti <juan@resin.io>",
|
||||
"license": "Apache-2.0",
|
||||
"devDependencies": {
|
||||
"chai": "^3.0.0",
|
||||
"ent": "^2.2.0",
|
||||
"gulp": "^3.9.0",
|
||||
"gulp-coffee": "^2.2.0",
|
||||
"gulp-coffeelint": "^0.5.0",
|
||||
"gulp-mocha": "^2.1.3",
|
||||
"gulp-shell": "^0.4.2",
|
||||
"gulp-util": "^3.0.6",
|
||||
"mocha": "^2.2.5",
|
||||
"run-sequence": "^1.1.1",
|
||||
"sinon": "^1.15.4",
|
||||
"sinon-chai": "^2.8.0"
|
||||
"gulp-util": "^3.0.6"
|
||||
},
|
||||
"dependencies": {
|
||||
"bluebird": "^2.9.34",
|
||||
|
Loading…
x
Reference in New Issue
Block a user