Remove travis.yml (#690)

Start work on github actions
This commit is contained in:
Serhii Londar 2021-09-16 22:10:31 +03:00 committed by GitHub
parent 4cd4b4f627
commit 4b2e49bc92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 17 deletions

26
.github/github-actions-demo.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: GitHub Actions Demo
on: [push]
jobs:
setup:
- name: Setup
runs-on: macos-latest
steps:
- run: gem install awesome_bot
- run: gem install bundler
- run: gem install danger
awesome-bot:
- name: awesome-bot
needs: setup
runs-on: macos-latest
- uses: actions/checkout@v2
- run: awesome_bot applications.json -w https://matrix.org,https://camo.githubusercontent.com,http://joshparnham.com,https://pock.pigigaldi.com,https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6,https://adequate.systems/ --allow 429
- run: danger
generate-readme:
- name: generate-readme
needs: awesome-bot
runs-on: macos-latest
- uses: actions/checkout@v2
run: swift ./.github/main.swift
run: chmod +x ./.github/deploy.sh
run: ./.github/deploy.sh

View file

@ -1,17 +0,0 @@
sudo: required
language: swift
osx_image: xcode11
rvm: 2.6.3
before_script:
- gem install awesome_bot
- gem install bundler
- gem install danger
script:
- awesome_bot applications.json -w https://matrix.org,https://camo.githubusercontent.com,http://joshparnham.com,https://pock.pigigaldi.com,https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6,https://adequate.systems/ --allow 429
- danger
after_success:
- swift ./.github/main.swift
- chmod +x ./.github/deploy.sh
- ./.github/deploy.sh
notifications:
email: true