Skip to content

Commit 2930a3a

Browse files
committed
chore(build) Add Windows build to CI
Signed-off-by: Jerome Simeon <[email protected]>
1 parent 5148be4 commit 2930a3a

File tree

4 files changed

+956
-740
lines changed

4 files changed

+956
-740
lines changed

.travis.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
language: node_js
22
node_js:
3-
- '8'
4-
dist: trusty
3+
- '8'
4+
matrix:
5+
include:
6+
- os: linux
7+
dist: trusty
8+
- os: windows
59
before_install: |
610
set -e
711
export PATH="./$HOME/node_modules/.bin:$PATH"
@@ -16,15 +20,14 @@ install: |
1620
script: npm run test 2>&1
1721
deploy:
1822
provider: script
19-
script:
20-
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./.travis/deploy.sh; fi
23+
script: 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./.travis/deploy.sh; fi'
2124
skip_cleanup: true
2225
on:
2326
all_branches: true
2427
repo: accordproject/concerto
28+
condition: "$TRAVIS_OS_NAME = linux"
2529
after_failure: tail -n +1 -- /home/travis/.npm/_logs/*-debug.log
2630
after_success: if [ $TRAVIS_OS_NAME = 'linux' ] && [ $TRAVIS_REPO_SLUG = 'accordproject/concerto' ]; then npm run coverage; fi
2731
cache:
2832
directories:
2933
- node_modules
30-
services:

0 commit comments

Comments
 (0)