From 4b2e49bc924e66731f6947081233c81fd69652e7 Mon Sep 17 00:00:00 2001 From: Serhii Londar Date: Thu, 16 Sep 2021 22:10:31 +0300 Subject: [PATCH] Remove travis.yml (#690) Start work on github actions --- .github/github-actions-demo.yml | 26 ++++++++++++++++++++++++++ .travis.yml | 17 ----------------- 2 files changed, 26 insertions(+), 17 deletions(-) create mode 100644 .github/github-actions-demo.yml delete mode 100644 .travis.yml diff --git a/.github/github-actions-demo.yml b/.github/github-actions-demo.yml new file mode 100644 index 0000000..c54b949 --- /dev/null +++ b/.github/github-actions-demo.yml @@ -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 + \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0ebfb73..0000000 --- a/.travis.yml +++ /dev/null @@ -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