Files
koodo-reader/_travis.yml
troyeguo eafe46d1ae fix bug
Former-commit-id: 42c924954ac48ae173e2e20e2d4ac791fc1d17f5
2021-04-08 19:17:52 +08:00

44 lines
885 B
YAML

sudo: required
dist: xenial
language: c
matrix:
include:
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
cache:
directories:
- node_modules
- "$HOME/.electron"
- "$HOME/.cache"
addons:
apt:
packages:
- libgnome-keyring-dev
- icnsutils
- rpm
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils; fi
- sudo apt-get -y install snapd
- sudo snap install snapcraft --classic
install:
- nvm install 10
- curl -o- -L https://yarnpkg.com/install.sh | bash
- source ~/.bashrc
- npm install -g xvfb-maybe
- yarn
before_script:
- git lfs pull
script:
- yarn release
branches:
only:
- master
deploy:
provider: snap
snap: *.snap
channel: edge
skip_cleanup: true
notifications:
email: false