From fb6590b35e6a120da710657df14ba34b0ced330a Mon Sep 17 00:00:00 2001 From: Patrick Thomson Date: Wed, 11 Nov 2020 08:42:52 -0500 Subject: [PATCH] Remove Travis and Appveyor. --- .appveyor.yml | 50 ----------------------------------- .travis.yml | 72 --------------------------------------------------- 2 files changed, 122 deletions(-) delete mode 100644 .appveyor.yml delete mode 100644 .travis.yml diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index d463b7a2..00000000 --- a/.appveyor.yml +++ /dev/null @@ -1,50 +0,0 @@ -build: false -install: - # Terminate early unless building either a tag or a PR. - - if "%APPVEYOR_REPO_TAG%" == "false" if not "%APPVEYOR_REPO_BRANCH%" == "master" appveyor exit - - # Install rust - - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - - IF "%PLATFORM%" == "x86" rustup-init -y --default-toolchain stable --default-host i686-pc-windows-msvc - - IF "%PLATFORM%" == "x64" rustup-init -y --default-toolchain stable --default-host x86_64-pc-windows-msvc - - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - - rustc -vV - - cargo -vV - - # Install dependencies - - git submodule update --init - -platform: - - x64 - - x86 - -test_script: - # Fetch and regenerate the fixture parsers - - script\fetch-fixtures.cmd - - cargo build --release - - script\generate-fixtures.cmd - - # Run tests - - script\test.cmd - - script\benchmark.cmd - -before_deploy: - - move target\release\tree-sitter.exe tree-sitter.exe - - 7z a -tgzip tree-sitter-windows-%PLATFORM%.gz tree-sitter.exe - - appveyor PushArtifact tree-sitter-windows-%PLATFORM%.gz - -deploy: - description: '' - provider: GitHub - auth_token: - secure: VC9ntV5+inKoNteZyLQksKzWMKXF46P+Jx3JHKVSfF+o1rWtZn2iIHAVsQv5LaUi - artifact: /tree-sitter-windows-.*/ - draft: true - force_update: true - on: - APPVEYOR_REPO_TAG: true - -cache: - - target - - test\fixtures\grammars - - C:\Users\appveyor\.cargo diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7205ae03..00000000 --- a/.travis.yml +++ /dev/null @@ -1,72 +0,0 @@ -language: rust -rust: - - stable - -env: - CFLAGS="-Wall -Wextra -Werror -Wstrict-prototypes" - -matrix: - include: - - os: osx - env: USE_EMSCRIPTEN=1 - - os: linux - services: docker - -before_install: - # Install node - - nvm install 10 - - nvm use 10 - - # Download emscripten and create a shorthand for adding it to the PATH. - # Don't add it to the path globally because it overrides the default - # clang and node. - - if [ -n "$USE_EMSCRIPTEN" ]; then export WASM_ENV="$(script/fetch-emscripten)"; fi - -script: - # Build the WASM binding - - (eval "$WASM_ENV" && script/build-wasm) - - # build the shared/static libraries - - make - - # Build the CLI - - cargo build --release - - # Fetch and regenerate the fixture parsers - - script/fetch-fixtures - - script/generate-fixtures - - (eval "$WASM_ENV" && script/generate-fixtures-wasm) - - # Run the tests - - script/test - - script/test-wasm - - script/benchmark - -branches: - only: - - master - - /\d+\.\d+\.\d+/ - -before_deploy: - - cp target/release/tree-sitter . - - gzip --suffix "-${TRAVIS_OS_NAME}-x64.gz" tree-sitter - -deploy: - provider: releases - api_key: - secure: "cAd2mQP+Q55v3zedo5ZyOVc3hq3XKMW93lp5LuXV6CYKYbIhkyfym4qfs+C9GJQiIP27cnePYM7B3+OMIFwSPIgXHWWSsuloMtDgYSc/PAwb2dZnJqAyog3BohW/QiGTSnvbVlxPF6P9RMQU6+JP0HJzEJy6QBTa4Und/j0jm24=" - file_glob: true - file: - - "tree-sitter-*.gz" - - "target/release/tree-sitter.js" - - "target/release/tree-sitter.wasm" - draft: true - overwrite: true - skip_cleanup: true - on: - tags: true - -cache: - cargo: true - directories: - - target/emsdk