2018-03-09 23:50:34 +01:00
|
|
|
defaultFilters: &defaultFilters
|
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- release-2.5
|
|
|
|
- release-2.6
|
|
|
|
- release-2.7
|
2018-02-07 21:36:56 +01:00
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
main:
|
|
|
|
jobs:
|
|
|
|
- node9:
|
2018-03-09 23:50:34 +01:00
|
|
|
<<: *defaultFilters
|
2018-02-07 21:36:56 +01:00
|
|
|
- node8:
|
2018-03-09 23:50:34 +01:00
|
|
|
<<: *defaultFilters
|
2018-02-07 21:36:56 +01:00
|
|
|
- node6:
|
2018-03-09 23:50:34 +01:00
|
|
|
<<: *defaultFilters
|
2018-02-08 21:18:38 +01:00
|
|
|
nightly:
|
|
|
|
triggers:
|
|
|
|
- schedule:
|
|
|
|
cron: "0 8 * * *"
|
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only: master
|
|
|
|
jobs:
|
|
|
|
- node9:
|
2018-03-09 23:50:34 +01:00
|
|
|
<<: *defaultFilters
|
2018-02-08 21:18:38 +01:00
|
|
|
context: nightlies
|
|
|
|
- node8:
|
2018-03-09 23:50:34 +01:00
|
|
|
<<: *defaultFilters
|
2018-02-08 21:18:38 +01:00
|
|
|
context: nightlies
|
|
|
|
- node6:
|
2018-03-09 23:50:34 +01:00
|
|
|
<<: *defaultFilters
|
2018-02-08 21:18:38 +01:00
|
|
|
context: nightlies
|
2018-02-07 21:36:56 +01:00
|
|
|
|
|
|
|
base: &base
|
|
|
|
environment:
|
2018-02-08 21:18:38 +01:00
|
|
|
- workerCount: 4
|
2018-03-06 22:02:33 +01:00
|
|
|
- timeout: 400000
|
2018-02-07 21:36:56 +01:00
|
|
|
steps:
|
2018-03-09 23:50:34 +01:00
|
|
|
- checkout:
|
|
|
|
post:
|
|
|
|
- git submodule update --init --recursive
|
2018-02-07 21:36:56 +01:00
|
|
|
- run: |
|
|
|
|
npm uninstall typescript --no-save
|
|
|
|
npm uninstall tslint --no-save
|
|
|
|
npm install
|
|
|
|
#npm update Appeared in Jenkins only
|
|
|
|
npm test
|
|
|
|
|
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
node9:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:9
|
|
|
|
<<: *base
|
|
|
|
node8:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:8
|
|
|
|
<<: *base
|
|
|
|
node6:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:6
|
|
|
|
<<: *base
|