forked from webgme/webgme
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
68 lines (62 loc) · 3.96 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# https://www.appveyor.com/docs/how-to/repository-shallow-clone#downloading-repository-via-github-or-bitbucket-api
#shallow_clone: true
environment:
matrix:
- nodejs_version: "4"
platform: x64
# - nodejs_version: "4.2"
# platform: x86
cache:
- node_modules # local npm modules
- src\client\bower_components # installed bower components
services:
- mongodb
install:
# Install the Redis
- nuget install redis-64 -excludeversion
- redis-64\tools\redis-server.exe --service-install
- redis-64\tools\redis-server.exe --service-start
- '@ECHO Redis Started'
- where npm
- where node
- ps: Install-Product node $env:nodejs_version $env:platform
#- for /f "delims=" %%a in ('where npm') do cd %%a\.. && npm install npm@2.14.7
#- for /f "delims=" %%a in ('where npm') do cd %%a\.. && npm install node-pre-gyp@latest
- npm install
build: off
test_script:
- node --version
- npm --version
# N.B. a few tests are skipped, because they can randomly fail on windows
#- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 test
#- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/addon
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/bin
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 test/common
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/common/blob
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/common/core
#- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/common/executor
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/common/storage
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/common/util
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/config
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/issue
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 test/plugin
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 test/plugin/coreplugins
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/plugin/coreplugins/AddOnGenerator
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/plugin/coreplugins/ConstraintEvaluator
#- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/plugin/coreplugins/ExecutorPlugin
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/plugin/coreplugins/ExportImport
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/plugin/coreplugins/LayoutGenerator
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/plugin/coreplugins/VisualizerGenerator
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/plugin/scenarios
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/seeds
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 test/server
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 test/server/api
#- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/server/api/addon
#- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/server/api/plugin
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 test/server/middleware
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/server/middleware/auth
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/server/middleware/blob
#- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/server/middleware/executor
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/server/storage
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/server/util
- node ./node_modules/mocha/bin/mocha -R dot --timeout 10000 --recursive test/server/worker