Just cloning TS on travis takes 23 seconds on linux (68 seconds on mac), hopefully having it do a shallow clone will help. We don't rely on any tagging/artifacts from the travis servers which clone depth could impact, so this shouldn't impact anything other than build speed.
39 lines
445 B
YAML
39 lines
445 B
YAML
language: node_js
|
|
|
|
node_js:
|
|
- 'stable'
|
|
- '4'
|
|
- '0.10'
|
|
|
|
sudo: false
|
|
|
|
env:
|
|
- workerCount=3
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- os: osx
|
|
node_js: stable
|
|
osx_image: xcode7.3
|
|
env: workerCount=2
|
|
allow_failures:
|
|
- os: osx
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- transforms
|
|
|
|
install:
|
|
- npm uninstall typescript
|
|
- npm uninstall tslint
|
|
- npm install
|
|
- npm update
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
git:
|
|
depth: 1
|