From 6c97746d663e9aae6a2788fea0e1121320609088 Mon Sep 17 00:00:00 2001 From: Prabir Shrestha Date: Wed, 25 Dec 2019 12:49:19 -0800 Subject: [PATCH] remove travis.yml (#622) --- .travis.yml | 84 ----------------------------------------------------- 1 file changed, 84 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 00a1c77d2..000000000 --- a/.travis.yml +++ /dev/null @@ -1,84 +0,0 @@ -sudo: false -language: generic -git: - depth: 3 - -env: - global: - - DOWNLOADS_DIR=$HOME/downloads - -matrix: - include: - - os: osx - env: VIM_TYPE=neovim VIM_VERSION=0.4.3 - - os: osx - env: VIM_TYPE=vim VIM_VERSION=default - - os: linux - dist: bionic - env: VIM_TYPE=neovim VIM_VERSION=0.4.3 - - os: linux - dist: bionic - env: VIM_TYPE=vim VIM_VERSION=default - - os: windows - language: shell - env: VIM_TYPE=neovim VIM_VERSION=0.4.3 - - os: windows - language: shell - env: VIM_TYPE=vim VIM_VERSION=default - allow_failures: - - os: osx - env: VIM_TYPE=neovim VIM_VERSION=nightly - - os: linux - dist: bionic - env: VIM_TYPE=neovim VIM_VERSION=nightly - - os: windows - language: shell - env: VIM_TYPE=neovim VIM_VERSION=nightly - -install: - - mkdir -p "$DOWNLOADS_DIR" - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - if [[ "$VIM_TYPE" == "neovim" ]]; then - if [[ "$VIM_VERSION" == "nightly" ]]; then export VIM_URL="https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz"; fi; - if [[ "$VIM_VERSION" != "nightly" ]]; then export VIM_URL="https://github.com/neovim/neovim/releases/download/v$VIM_VERSION/nvim-macos.tar.gz"; fi; - wget "$VIM_URL" -O "$DOWNLOADS_DIR/neovim.tar.gz"; - tar xzvf "$DOWNLOADS_DIR/neovim.tar.gz" -C "$DOWNLOADS_DIR"; - export PATH="$DOWNLOADS_DIR/nvim-osx64/bin:$PATH"; - fi; - elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - if [[ "$VIM_TYPE" == "neovim" ]]; then - if [[ "$VIM_VERSION" == "nightly" ]]; then export VIM_URL="https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage"; fi; - if [[ "$VIM_VERSION" != "nightly" ]]; then export VIM_URL="https://github.com/neovim/neovim/releases/download/v$VIM_VERSION/nvim.appimage"; fi; - mkdir -p "$DOWNLOADS_DIR/neovim-linux/bin"; - wget "$VIM_URL" -O "$DOWNLOADS_DIR/neovim-linux/bin/nvim"; - chmod u+x "$DOWNLOADS_DIR/neovim-linux/bin/nvim"; - export PATH="$DOWNLOADS_DIR/neovim-linux/bin:$PATH"; - fi; - elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then - powershell -Command "Set-ExecutionPolicy RemoteSigned -scope CurrentUser"; - powershell -Command "iex (new-object net.webclient).downloadstring('https://get.scoop.sh')"; - export PATH="$HOME/scoop/shims:$PATH;"; - if [[ "$VIM_TYPE" == "neovim" ]]; then - if [[ "$VIM_VERSION" == "nightly" ]]; then export VIM_URL="https://github.com/neovim/neovim/releases/download/nightly/nvim-win64.zip"; fi; - if [[ "$VIM_VERSION" != "nightly" ]]; then export VIM_URL="https://github.com/neovim/neovim/releases/download/v$VIM_VERSION/nvim-win64.zip"; fi; - wget "$VIM_URL" -O "$DOWNLOADS_DIR/neovim-win64.zip"; - unzip "$DOWNLOADS_DIR/neovim-win64.zip" -d "$DOWNLOADS_DIR"; - export PATH="$DOWNLOADS_DIR/Neovim/bin:$PATH"; - fi; - fi; - - git clone --depth 1 --branch v1.5.4 --single-branch https://github.com/thinca/vim-themis /tmp/vim-themis - - export PATH="/tmp/vim-themis/bin:$PATH"; - - if [[ "$VIM_TYPE" == "neovim" ]]; then export THEMIS_VIM=nvim; fi; - -before_script: - - uname -a - - if [[ "$VIM_TYPE" == "vim" ]]; then vim --version; fi; - - if [[ "$VIM_TYPE" == "neovim" ]]; then nvim --version; fi; - - export - -script: - - if [[ "$TRAVIS_OS_NAME" == "windows" && "$VIM_TYPE" == "neovim" ]]; then - powershell -Command "themis --reporter spec"; - else - themis --reporter spec; - fi;