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

We forgot to do so on the PR that introduces this script. This commit also moves all the CI code to separate scripts. See: https://github.com/resin-io/etcher/pull/1371 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
57 lines
833 B
YAML
57 lines
833 B
YAML
language: node_js
|
|
sudo: false
|
|
node_js:
|
|
- "6.1.0"
|
|
|
|
services:
|
|
- docker
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- libstdc++-6-dev
|
|
|
|
env:
|
|
global:
|
|
- CCACHE_TEMPDIR=/tmp/.ccache-temp
|
|
- CCACHE_COMPRESS=1
|
|
- CC="clang"
|
|
- CXX="clang++"
|
|
matrix:
|
|
- TARGET_ARCH=x64
|
|
- TARGET_ARCH=x86
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
exclude:
|
|
- os: osx
|
|
env: TARGET_ARCH=x86
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
install:
|
|
- travis_wait ./scripts/ci/travis-install.sh
|
|
|
|
script:
|
|
- ./scripts/ci/travis-test.sh
|
|
|
|
deploy:
|
|
provider: script
|
|
skip_cleanup: true
|
|
script: scripts/ci/travis-deploy.sh
|
|
on:
|
|
branch: master
|
|
|
|
notifications:
|
|
email: false
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/0a019c8b9828eb9f6a72
|
|
on_success: change
|
|
on_failure: always
|
|
on_start: never
|