mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-19 21:07:18 +00:00

Deploy will be done locally for now given security concerns with CI servers and certificates.
40 lines
669 B
YAML
40 lines
669 B
YAML
language: cpp
|
|
sudo: false
|
|
|
|
env:
|
|
- NODE_VERSION="4"
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
before_install:
|
|
- rm -rf ~/.nvm
|
|
- git clone https://github.com/creationix/nvm.git ~/.nvm
|
|
- source ~/.nvm/nvm.sh
|
|
- nvm --version
|
|
- nvm install $NODE_VERSION
|
|
- node --version
|
|
- npm --version
|
|
- npm config set spin=false
|
|
|
|
install:
|
|
- npm install
|
|
|
|
before_script:
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
|
export DISPLAY=:99.0;
|
|
sh -e /etc/init.d/xvfb start;
|
|
fi
|
|
|
|
script:
|
|
- npm test
|
|
|
|
notifications:
|
|
email: false
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/8b150eaf525c280ec2ac
|
|
on_success: change
|
|
on_failure: always
|
|
on_start: never
|