summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorChristoph Schlosser <2466365+cschlosser@users.noreply.github.com>2021-04-30 16:03:47 +0200
committerGitHub <noreply@github.com>2021-04-30 16:03:47 +0200
commit15f166329f3c8040a8aa3772dbb2fd4614a4a8b2 (patch)
tree5e568c2c73470cdd7fda0cb4eea87c9867eb7697 /.travis.yml
parente5b544978594082190d2edb866470046af6374a5 (diff)
downloaddoxdocgen-15f166329f3c8040a8aa3772dbb2fd4614a4a8b2.tar.gz
Use Github actions instead of travis and appveyor (#216)
* Switch to GH workflow * Use tslint action * Add build matrix * Run test stage * Disable ubuntu test run due to bug in vscode * Publish coverage on macOS * Remove istanbul * codecov action * Move nyc config to nycrc * Add CD workflow * Remove old publishing script
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml71
1 files changed, 0 insertions, 71 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 4f18b14..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,71 +0,0 @@
-branches:
- only:
- - master
- - /^\d\.\d\.\d$/
-
-os: osx
-
-language: node_js
-node_js:
- - "15"
-
-stages:
- - lint
- - build
- - test
- - release
-
-before_install:
- - if [ $TRAVIS_OS_NAME == "linux" ]; then
- export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
- sh -e /etc/init.d/xvfb start;
- sleep 3;
- fi
-
-install:
- - yarn
-
-jobs:
- allow_failures:
- - os: linux
- include:
- - os: linux
- dist: xenial
- - stage: lint
- script: tslint -c tslint.json 'src/**/*.ts'
- os: linux
- - stage: build
- script: npm run vscode:prepublish
- os: linux
- - stage: test
- script: yarn cov
- os: osx
- - stage: release
- script:
- - yarn add vsce -D
- - vsce package
- - ls -alh
- os: linux
- deploy:
- - provider: releases
- api_key: $GITHUB_OAUTH_TOKEN
- file: "./doxdocgen-$TRAVIS_TAG.vsix"
- skip_cleanup: true
- on:
- tags: true
- - provider: script
- script: vsce publish -p $VSMARKETPLACE_ACCESS_TOKEN
- skip_cleanup: true
- on:
- tags: true
-
-after_success:
- - ./publish_coverage.sh
-
-notifications:
- webhooks:
- urls:
- - https://webhooks.gitter.im/e/87b3ab4176e6f9506c13
- on_success: always
- on_failure: always
- on_start: never