~glacambre/firenvim

ref: 6f4d06bf58fbb7fc93f50a29988a1c5225b6d799 firenvim/.travis.yml -rw-r--r-- 1.1 KiB
6f4d06bfGhjuvan Lacambre Merge pull request #135 from glacambre/replace_osx_path 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
27
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 ci
  - npm run build
  - npm run install_manifests
  - cat "$HOME/.local/share/firenvim/firenvim"
cache:
  directories:
    - node_modules
    - /home/travis/.npm
git:
  depth: false