-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* "travis" is now used for building on windows, so "appveyor" got dropped
- Loading branch information
Showing
9 changed files
with
158 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,59 @@ | ||
# https://docs.travis-ci.com/user/customizing-the-build/ | ||
|
||
branches: | ||
only: | ||
- master | ||
- "master" | ||
language: node_js | ||
node_js: | ||
- "lts/*" | ||
os: | ||
- linux | ||
- osx | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- "8" | ||
- "10" | ||
cache: | ||
yarn: true | ||
before_install: | ||
- | # installing the most recent yarn version | ||
curl -o- -L https://yarnpkg.com/install.sh | bash; | ||
export PATH="$HOME/.yarn/bin:$PATH"; | ||
install: | ||
- yarn install --pure-lockfile | ||
- yarn install --pure-lockfile --network-timeout 1000000 | ||
- yarn add rxjs@6 | ||
script: | ||
- npx envinfo | ||
- node --version | ||
- npm --version | ||
- yarn --version | ||
- yarn run lib | ||
jobs: | ||
# fast_finish: true | ||
include: | ||
- &windows | ||
stage: "Windows" | ||
os: windows | ||
# tackle travis job finishing issue: "tar: C\:\\Users\travis\\AppData\\Local\\Yarn\\Cache: Cannot stat: No such file or directory" | ||
cache: false | ||
env: | ||
# prevent the following error: No output has been received in the last 10m0s | ||
# https://travis-ci.community/t/build-doesnt-finish-after-completing-tests/288/9 | ||
- YARN_GPG=no | ||
before_install: | ||
- powershell Get-Process | ||
- echo $(where.exe node.exe) | ||
- echo $(yarn cache dir) | ||
# enable running local PowerShell scripts | ||
- powershell -Command 'Set-ExecutionPolicy -ExecutionPolicy RemoteSigned' | ||
- | # tackle the performance issue of "yarn install" execution, see https://travis-ci.community/t/current-known-issues-please-read-this-before-posting-a-new-topic/264/15 | ||
export NODEPATH=$(where.exe node.exe) | ||
export PROJECTDIR=$(pwd) | ||
export YARNCACHE=$(yarn cache dir) | ||
export TEMPDIR=$LOCALAPPDATA\\Temp | ||
powershell Add-MpPreference -ExclusionProcess ${NODEPATH} | ||
powershell Add-MpPreference -ExclusionPath ${YARNCACHE} | ||
powershell Add-MpPreference -ExclusionPath ${PROJECTDIR} | ||
powershell Add-MpPreference -ExclusionPath ${TEMPDIR} | ||
echo "DisableArchiveScanning..." | ||
powershell Start-Process -PassThru -Wait PowerShell -ArgumentList "'-Command Set-MpPreference -DisableArchiveScanning \$true'" | ||
echo "DisableBehaviorMonitoring..." | ||
powershell Start-Process -PassThru -Wait PowerShell -ArgumentList "'-Command Set-MpPreference -DisableBehaviorMonitoring \$true'" | ||
echo "DisableRealtimeMonitoring..." | ||
powershell Start-Process -PassThru -Wait PowerShell -ArgumentList "'-Command Set-MpPreference -DisableRealtimeMonitoring \$true'" | ||
- <<: *windows | ||
node_js: "lts/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
"./tslint-rules-bunch.json" | ||
], | ||
"rules": { | ||
"no-unused-variable": false, | ||
"max-line-length": [ | ||
true, | ||
140 | ||
|
Oops, something went wrong.