Skip to content

Commit

Permalink
Switch to Github Actions CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjudd committed Nov 24, 2020
1 parent d1aacb5 commit dbdb62c
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 211 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Android CI

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: '1.8'
- name: Build and run unit tests with Gradle
run: ./scripts/ci_unit.sh
- name: Publish to Sonatype
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'bumptech/glide' }}
run: ./gradlew uploadArchives -PNEXUS_USERNAME="${NEXUS_USERNAME}" -PNEXUS_PASSWORD="${NEXUS_PASSWORD}"

41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.

File renamed without changes.
7 changes: 0 additions & 7 deletions scripts/travis_after_success.sh

This file was deleted.

7 changes: 0 additions & 7 deletions scripts/travis_before_script.sh

This file was deleted.

11 changes: 0 additions & 11 deletions scripts/travis_create_emulator.sh

This file was deleted.

32 changes: 0 additions & 32 deletions scripts/travis_firebase.sh

This file was deleted.

17 changes: 0 additions & 17 deletions scripts/travis_instrumentation.sh

This file was deleted.

53 changes: 0 additions & 53 deletions scripts/travis_samples.sh

This file was deleted.

23 changes: 0 additions & 23 deletions scripts/travis_script.sh

This file was deleted.

20 changes: 0 additions & 20 deletions scripts/travis_sonatype_publish.sh

This file was deleted.

0 comments on commit dbdb62c

Please sign in to comment.