Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Migrate to Github Actions #605

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: ci

on: push

jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
strategy:
matrix:
ATOM_CHANNEL: ['stable','beta','dev']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '12'
- name: Create DB
run: |
sudo service postgresql start
sudo su postgres -c 'createuser -P --superuser runner'
createdb teletype-test
- name: Build Atom
env:
TRAVIS_OS_NAME: 'linux'
run: |
curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
chmod u+x build-package.sh
./build-package.sh
41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.