~glacambre/firenvim

ref: 972263da8c898bc6689edf565ed770db3d1d4e79 firenvim/.travis.yml -rw-r--r-- 1.1 KiB
972263daGhjuvan Lacambre Merge pull request #134 from glacambre/dependabot/npm_and_yarn/types/node-12.7.11 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: node_js
env:
  - HEADLESS=1
os:
  - linux
  - osx
node_js:
  - 10.15
before_install:
  - npm install -g get-firefox
  - if [ $TRAVIS_OS_NAME = linux ]; then get-firefox --platform linux --branch devedition --extract --target $HOME; export PATH="$HOME/firefox:$PATH" ; mkdir -p "$HOME/bin" ; curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage -o "$HOME/bin/nvim" ; chmod u+x "$HOME/bin/nvim"; export PATH="$HOME/bin:$PATH"; fi
  - if [ $TRAVIS_OS_NAME = osx ]; then curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz; tar xzf nvim-macos.tar.gz; export PATH="$(pwd)/nvim-osx64/bin/:$PATH"; brew cask --verbose --debug install caskroom/versions/firefox-developer-edition; export PATH="/Applications/Firefox Developer Edition.app/Contents/MacOS/:$PATH"; fi
  - firefox --version
  - nvim --version
  - mkdir -p "$HOME/.config/nvim/"
  - echo "set rtp+=$(pwd)" >> "$HOME/.config/nvim/init.vim"
install:
  - npm install
  - npm run build
  - npm run install_manifests
cache:
  directories:
    - node_modules
    - /home/travis/.npm
git:
  depth: false