From 42c8b1e0a7475d13d139c1780c0be6366dff91db Mon Sep 17 00:00:00 2001 From: Vishwas Shashidhar Date: Thu, 13 Feb 2020 23:13:46 +0530 Subject: [PATCH] add travis config back Signed-off-by: Vishwas Shashidhar --- .github/workflows/backport.yml | 16 ---------------- .github/workflows/electron.yml | 26 -------------------------- .github/workflows/stale.yml | 19 ------------------- .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 34 insertions(+), 61 deletions(-) delete mode 100644 .github/workflows/backport.yml delete mode 100644 .github/workflows/electron.yml delete mode 100644 .github/workflows/stale.yml create mode 100644 .travis.yml diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml deleted file mode 100644 index 26801ebb..00000000 --- a/.github/workflows/backport.yml +++ /dev/null @@ -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 }} diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml deleted file mode 100644 index f3780a4b..00000000 --- a/.github/workflows/electron.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index 7bbc0505..00000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -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' diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..603f3980 --- /dev/null +++ b/.travis.yml @@ -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