Skip to content

Commit

Permalink
Merge pull request #5 from oetiker/master
Browse files Browse the repository at this point in the history
added test-suite
  • Loading branch information
oetiker authored Apr 23, 2019
2 parents 2889a3c + a545846 commit 6331456
Show file tree
Hide file tree
Showing 16 changed files with 1,671 additions and 1,418 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@ language: node_js
node_js: "10"

script:
- node_modules/.bin/qx compile --machine-readable --target=build
- node_modules/.bin/qx serve --machine-readable --target=source --listen-port=8089 &
- while ! nc -z localhost 8089; do sleep 1; done
- node source-output/resource/qxl/testtapper/run.js http://localhost:8089/testtapper/
- pkill -f node
- ./runtests.sh
- npx qx compile --machine-readable --target=build
- rm build-output/*.json

after_success:
- node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls
- npx nyc report --reporter=text-lcov | npx coveralls

deploy:
provider: pages
Expand Down
21 changes: 21 additions & 0 deletions .travis.yml~
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: node_js
node_js: "10"

script:
- node_modules/.bin/qx compile --machine-readable --target=build
- node_modules/.bin/qx serve --machine-readable --target=source --listen-port=8089 &
- while ! nc -z localhost 8089; do sleep 1; done
- node source-output/resource/qxl/testtapper/run.js http://localhost:8089/testtapper/
- pkill -f node
- rm build-output/*.json

after_success:
- node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls

deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
local-dir: build-output
on:
branch: master
2 changes: 1 addition & 1 deletion Manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"email": "tobi@oetiker.ch"
}
],
"version": "0.2.1",
"version": "0.3.0",
"sourceViewUri": "https://github.com/qooxdoo/qxl.testtapper/blob/%{qxGitBranch}/source/class/%{classFilePath}#L%{lineNumber}"
},
"provides": {
Expand Down
13 changes: 6 additions & 7 deletions compile.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
]
}
],
"include": [
"qx.*",
"q",
"qxWeb"
],
// "include": [
// "qx.*",
// "q",
// "qxWeb"
// ],
"exclude": [
"qx.test.*",
"qx.module.Blocker",
Expand All @@ -30,8 +30,7 @@
"bundle": {
"include": "qx.*"
}
}
,{
},{
"type": "build",
"outputPath": "build-output"
}
Expand Down
Loading

0 comments on commit 6331456

Please sign in to comment.