2017-12-13 23:52:32 +03:00
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
|
|
|
- "2.7.13"
|
|
|
|
|
2015-04-16 10:15:46 +03:00
|
|
|
git:
|
|
|
|
depth: 10
|
|
|
|
|
2017-04-18 19:44:28 +03:00
|
|
|
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
|
2017-04-20 19:33:34 +03:00
|
|
|
dist: trusty
|
2018-07-12 16:58:23 +03:00
|
|
|
env: NODE_VERSION=8.9.3 DISPLAY=:99.0 CC=clang CXX=clang++ npm_config_clang=1
|
2015-06-15 23:31:53 +03:00
|
|
|
|
2017-04-20 19:33:34 +03:00
|
|
|
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
|
2018-07-30 21:50:47 +03:00
|
|
|
- npm install -g npm@6.1.0
|
2018-08-08 15:58:41 +03:00
|
|
|
- script/build --ci --create-debian-package --create-rpm-package --compress-artifacts
|
2015-04-03 10:32:23 +03:00
|
|
|
|
2017-02-06 20:49:20 +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:
|
2016-08-11 13:44:40 +03:00
|
|
|
- electron
|
2016-07-19 15:56:27 +03:00
|
|
|
- node_modules
|
2016-02-05 02:23:40 +03:00
|
|
|
- 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
|
2016-08-23 17:19:01 +03:00
|
|
|
target_paths: travis-artifacts/$TRAVIS_BUILD_ID
|
2015-04-20 13:05:12 +03:00
|
|
|
apt:
|
|
|
|
packages:
|
2017-06-20 00:48:51 +03:00
|
|
|
- build-essential
|
|
|
|
- clang-3.3
|
2015-04-20 13:05:12 +03:00
|
|
|
- fakeroot
|
2016-08-16 14:36:41 +03:00
|
|
|
- git
|
2017-04-20 19:33:34 +03:00
|
|
|
- libsecret-1-dev
|
2016-08-16 14:36:41 +03:00
|
|
|
- rpm
|
2016-10-14 17:01:46 +03:00
|
|
|
- libx11-dev
|
|
|
|
- libxkbfile-dev
|