pulsar/.travis.yml

68 lines
1.3 KiB
YAML
Raw Normal View History

language: python
python:
- "2.7.13"
2015-04-16 10:15:46 +03:00
git:
depth: 10
branches:
only:
- master
- /^[0-9.]+-releases$/
2015-06-15 23:43:52 +03:00
matrix:
2015-06-30 04:50:39 +03:00
include:
2015-09-25 12:47:58 +03:00
- os: linux
dist: trusty
env: NODE_VERSION=6.9.4 DISPLAY=:99.0 CC=clang CXX=clang++ npm_config_clang=1
sudo: required
2015-04-20 13:05:12 +03:00
2016-09-09 12:05:51 +03:00
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
2015-04-09 11:29:36 +03:00
install:
2015-04-09 20:42:23 +03:00
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
2015-04-09 11:58:14 +03:00
- nvm install $NODE_VERSION
2016-06-15 03:59:29 +03:00
- nvm use --delete-prefix $NODE_VERSION
2017-07-16 15:19:39 +03:00
- npm install -g npm@5.3.0
- script/build --create-debian-package --create-rpm-package --compress-artifacts
2015-04-03 10:32:23 +03:00
script:
- script/lint
- script/test
2015-04-03 10:32:23 +03:00
2015-11-17 18:59:43 +03:00
cache:
directories:
- electron
2016-07-19 15:56:27 +03:00
- node_modules
- apm/node_modules
2016-08-02 15:04:45 +03:00
- script/node_modules
2016-08-15 14:00:56 +03:00
- ~/.atom/compile-cache
2017-03-10 11:39:14 +03:00
- ~/.atom/snapshot-cache
2015-11-17 18:59:43 +03:00
2015-04-03 10:32:23 +03:00
notifications:
email:
on_success: never
on_failure: change
2015-04-20 13:05:12 +03:00
addons:
2016-08-23 16:14:33 +03:00
artifacts:
paths:
- out/atom-amd64.deb
- out/atom.x86_64.rpm
- out/atom-amd64.tar.gz
target_paths: travis-artifacts/$TRAVIS_BUILD_ID
2015-04-20 13:05:12 +03:00
apt:
packages:
- build-essential
- clang-3.3
2015-04-20 13:05:12 +03:00
- fakeroot
- git
- libsecret-1-dev
- rpm
- libx11-dev
- libxkbfile-dev