From db48d6b986ebbfaf7806c73d35f11eb43ad22f0a Mon Sep 17 00:00:00 2001 From: sadick254 Date: Mon, 26 Apr 2021 19:20:18 +0300 Subject: [PATCH] Migrate to Github Actions --- .github/workflows/main.yml | 27 ++++++++++++++++++++++++ .travis.yml | 42 -------------------------------------- README.md | 1 + 3 files changed, 28 insertions(+), 42 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..8833a8e5 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: CI + +on: [push] + +env: + CI: true + +jobs: + Test: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + channel: [stable, beta] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v1 + - uses: UziTech/action-setup-atom@v2 + with: + version: ${{ matrix.channel }} + - name: Install windows-build-tools + if: ${{ matrix.os == 'windows-latest' }} + run: | + npm config set msvs_version 2019 + - name: Install dependencies + run: apm install + - name: Run tests + run: npm run test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e69fa435..00000000 --- a/.travis.yml +++ /dev/null @@ -1,42 +0,0 @@ -language: node_js -node_js: '7' -sudo: false -os: linux -dist: xenial - -env: - matrix: - - ATOM_CHANNEL=stable - - ATOM_CHANNEL=beta - - ATOM_CHANNEL=dev - -notifications: - email: - on_success: never - on_failure: change - slack: - on_success: never - on_failure: never - rooms: - - secure: om1VFZYOtLRBOHh3+UDms24wIoRsBu73jMrvNoI2/ThElkihHnD6LbdI1qkPEOkufgMlSjTzQml0VqJgN4gACHfB3Y/cx2k0ThUs7H8Zjv7h90xeegMrj5yA+m2ahqln6rZxtSfog/3owYi9m75iZlXKbl72oXBhCrQMcZ4/BIktdLhR8loEZrYoFgxTOxt6kQwHu67WGmtaRdZcp11ve8ToWqp/Wm1IWGRjeNe5C3dHevS4xsUTRK+hoIov1/nwYysQ8RgmxgJGwzwtCjNkwyqwWku9M0ACVqdqXlFYmcNNWWj2e9buVP9mkX9KHVhPaA72CtgPgO1cvV6HFeA4npn/UKHi+FsMfeGBUkUYP+sQ/CauiSq0LW2zoQIlzsFr5GNI5l2kMhQ9cKoA0CMPwfAjK2rRLLx9c61vNjFqVJtL3KiaYsgPnss8CWprvPgCUjWwbPknjY899EVxhP0bcSt1Nyh0XkzFSCFTWGMWwz/u31w3CVOWE0ez1OdjW4is7EmKhH08Zkt46e/Rr5qZFobc9RM1JYhW67rFPvged4eCz0opxrjci2RcYMh/vV+JJF3NYcpxkEI3dRLB1xpQDL0PtEsuvTSIjCRZYcc4RYb+4NDp7vIgMf20Gt+kTwYs30KyCVMTNmWa7x04pClbo/0BN9Q58ZJT8PsCb62W/N4= - -install: - - sudo apt -y install libgconf2-4 # TODO: Remove once Atom 1.39 is stable - - sudo apt-get --only-upgrade install libnss3 - -addons: - apt: - packages: - - libsecret-1-dev - postgresql: '9.6' - -before_script: - - createdb teletype-test - -script: - - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh - - chmod u+x build-package.sh - - ./build-package.sh - -git: - depth: 10 diff --git a/README.md b/README.md index d1dc7fa2..c4fefeb9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Teletype for Atom +![CI Status](https://github.com/atom/teletype/actions/workflows/main.yml/badge.svg) An Atom package that lets developers share their workspace with team members and collaborate on code in real time.