add travis config back

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
This commit is contained in:
Vishwas Shashidhar 2020-02-13 23:13:46 +05:30
parent ce86367839
commit 42c8b1e0a7
4 changed files with 34 additions and 61 deletions

View File

@ -1,16 +0,0 @@
name: Backport
on:
pull_request:
types:
- closed
- labeled
jobs:
backport:
runs-on: ubuntu-18.04
name: Backport
steps:
- name: Backport
uses: tibdex/backport@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,26 +0,0 @@
name: Electron CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12.x]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm config set package-lock false
- run: npm install
- run: npm test
env:
CI: true
ELECTRON_QA: true

View File

@ -1,19 +0,0 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'

34
.travis.yml Normal file
View File

@ -0,0 +1,34 @@
env:
global:
- ELECTRON_QA="true"
- npm config set package-lock false
os:
- osx
- windows
compiler:
- gcc
language: node_js
node_js:
- '11'
addons:
chrome: stable
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
install:
- npm install
script:
- node --version
- npm --version
- npm test
cache:
directories:
- node_modules