mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Merge pull request #19597 from atom/ns/remove-travis
Rely on Azure Pipelines instead of Travis for Linux builds
This commit is contained in:
67
.travis.yml
67
.travis.yml
@@ -1,67 +0,0 @@
|
||||
language: python
|
||||
|
||||
python:
|
||||
- '2.7.13'
|
||||
|
||||
git:
|
||||
depth: 10
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- /^[0-9.]+-releases$/
|
||||
- /.*-test-travis$/
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
dist: trusty
|
||||
env: NODE_VERSION=10.2.1 DISPLAY=:99.0 CC=clang CXX=clang++ npm_config_clang=1 ATOM_JASMINE_REPORTER=list
|
||||
|
||||
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'
|
||||
|
||||
install:
|
||||
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
|
||||
- source /tmp/.nvm/nvm.sh
|
||||
- nvm install $NODE_VERSION
|
||||
- nvm use --delete-prefix $NODE_VERSION
|
||||
- npm install --global npm@6.2.0
|
||||
- script/bootstrap
|
||||
|
||||
script: >
|
||||
script/lint &&
|
||||
script/build --no-bootstrap --create-debian-package --create-rpm-package --compress-artifacts &&
|
||||
script/test
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- electron
|
||||
- node_modules
|
||||
- apm/node_modules
|
||||
- script/node_modules
|
||||
- ~/.atom/compile-cache
|
||||
- ~/.atom/snapshot-cache
|
||||
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
on_failure: change
|
||||
|
||||
addons:
|
||||
artifacts:
|
||||
paths:
|
||||
- out/atom-amd64.deb
|
||||
- out/atom.x86_64.rpm
|
||||
- out/atom-amd64.tar.gz
|
||||
target_paths: travis-artifacts/$TRAVIS_BUILD_ID
|
||||
apt:
|
||||
packages:
|
||||
- build-essential
|
||||
- clang-3.3
|
||||
- fakeroot
|
||||
- git
|
||||
- libsecret-1-dev
|
||||
- rpm
|
||||
- libx11-dev
|
||||
- libxkbfile-dev
|
||||
@@ -1,6 +1,6 @@
|
||||
# Atom
|
||||
|
||||
[](https://dev.azure.com/github/Atom/_build/latest?definitionId=32&branchName=master) [](https://travis-ci.org/atom/atom)
|
||||
[](https://dev.azure.com/github/Atom/_build/latest?definitionId=32&branchName=master)
|
||||
[](https://david-dm.org/atom/atom)
|
||||
[](https://atom-slack.herokuapp.com)
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Atom build status
|
||||
|
||||
| System | Travis | AppVeyor/Win | VSTS | Dependencies |
|
||||
| System | Azure Pipelines | Travis | AppVeyor/Win | Dependencies |
|
||||
|--------|--------|--------------|------------|--------------|
|
||||
| [Atom](https://github.com/atom/atom) | [](https://travis-ci.org/atom/atom) | | [](https://github.visualstudio.com/Atom/_build/latest?definitionId=32&branch=master) | [](https://david-dm.org/atom/atom) |
|
||||
| [APM](https://github.com/atom/apm) | [](https://travis-ci.org/atom/apm) | [](https://ci.appveyor.com/project/Atom/apm/branch/master) | | [](https://david-dm.org/atom/apm) |
|
||||
| [Electron](https://github.com/electron/electron) | [](https://travis-ci.org/electron/electron) | [](https://ci.appveyor.com/project/Atom/electron) | | [](https://david-dm.org/electron/electron)
|
||||
| [Atom](https://github.com/atom/atom) | [](https://github.visualstudio.com/Atom/_build/latest?definitionId=32&branch=master) | | | [](https://david-dm.org/atom/atom) |
|
||||
| [APM](https://github.com/atom/apm) | | [](https://travis-ci.org/atom/apm) | [](https://ci.appveyor.com/project/Atom/apm/branch/master) | [](https://david-dm.org/atom/apm) |
|
||||
| [Electron](https://github.com/electron/electron) | | [](https://travis-ci.org/electron/electron) | [](https://ci.appveyor.com/project/Atom/electron) | [](https://david-dm.org/electron/electron)
|
||||
|
||||
## Packages
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ const EXCLUDE_REGEXPS_SOURCES = [
|
||||
escapeRegExp('.jshintrc'),
|
||||
escapeRegExp('.npmignore'),
|
||||
escapeRegExp('.pairs'),
|
||||
escapeRegExp('.travis.yml'),
|
||||
escapeRegExp('.idea'),
|
||||
escapeRegExp('.editorconfig'),
|
||||
escapeRegExp('.lint'),
|
||||
|
||||
Reference in New Issue
Block a user