TimelordUK/jspurefix:.travis.yml@af2020f
language: node_js
node_js:
- "13"
before_script:
- node --version
- npm install
- npm run unzip-repo
- ./node_modules/.bin/tsc --version
- ./node_modules/.bin/tsc
script:
- npm run tcp-tc
- npm run http-oms
- npm t src/test/ascii-encode.test.ts
- npm t src/test/includes.test.ts
- npm t src/test/fixml-mkt-data-settle-parse.test.ts
- npm t src/test/repo-full-ascii-msg.test.ts
- npm t src/test/fixml-mkt-data-fut-parse.test.ts
- npm t src/test/fixml-alloc-parse.test.ts
- npm t src/test/repo-full-fixml-msg.test.ts
- npm t src/test/fixml-tc-bi-lateral-parse.test.ts
- npm t src/test/view-decode.test.ts
- npm t src/test/qf-full-msg.test.ts
- npm t src/test/session.test.ts
- npm t src/test/encode-proxy.test.ts
- npm t src/test/ascii-segment.test.ts
- npm t src/test/logon.test.ts
- npm t src/test/execution-report.test.ts
- npm t src/test/time-formatter.test.ts
- npm t src/test/session-state.test.ts
- npm t src/test/ascii-tag-pos.test.ts
- npm t src/test/elastic-buffer.test.ts
- npm t src/test/fix-log-replay.test.ts
- npm t src/test/ascii-parser.test.ts
- npm t src/test/session.test.ts
Build Config
{
"env": {
"global": [
"PATH=\"${HOME}/bin:${PATH}\"",
"SHELLCHECK_URL=\"https://s3.amazonaws.com/travis-blue-public/binaries/ubuntu/14.04/x86_64/shellcheck-0.4.4.tar.bz2\"",
"SHFMT_URL=\"https://github.com/mvdan/sh/releases/download/v0.1.0/shfmt_v0.1.0_linux_amd64\""
],
"matrix": [
"INTEGRATION_SPECS=1",
"INTEGRATION_SPECS=0"
]
},
"rvm": "2.3.1",
"dist": "trusty",
"sudo": false,
"cache": {
"apt": true,
"directories": [
"${HOME}/bin"
]
},
"group": "beta",
"addons": {
"apt": {
"packages": [
"bc"
]
}
},
"script": [
"./runtests",
"git diff --exit-code",
"git diff --cached --exit-code",
"if [[ $INTEGRATION_SPECS = 1 ]]; then bundle exec chirp; fi"
],
"language": "ruby",
"after_failure": "bundle exec chirp dumplogs ./log",
"after_success": [
"bundle exec chirp pushback",
"bundle exec chirp sendstats"
],
"notifications": {
"webhooks": {
"urls": [
"https://chirp-tracker-production.herokuapp.com/travis"
],
"on_failure": "never",
"on_success": "always"
}
},
"before_install": [
"mkdir -p \"${HOME}/bin\"",
"if ! shellcheck --version; then curl -sSL \"${SHELLCHECK_URL}\" | tar -C \"${HOME}/bin\" -xjf -; fi",
"if ! command -v shfmt; then curl -sSL \"${SHFMT_URL}\" -o \"${HOME}/bin/shfmt\"; chmod +x \"${HOME}/bin/shfmt\"; fi"
]
}