language: node_js env: - HEADLESS=1 os: - linux - osx node_js: - 12.6.0 before_install: - npm install -g npm - 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 homebrew/cask-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 audit fix - git diff --exit-code - npm run build - npm run install_manifests - cat "$HOME/.local/share/firenvim/firenvim" cache: directories: - node_modules - /home/travis/.npm git: depth: false