Skip to content

Commit

Permalink
Change CI from Travis to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiří Novák committed Jul 30, 2024
1 parent 29a6f41 commit 1b51ec0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'GitHub Actions'
'on':
- push

env:
APP_IMAGE: php-jsonparser

jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: 'Check out the repo'
uses: actions/checkout@v2
-
name: 'Print Docker version'
run: 'docker -v'
-
name: 'Build image'
run: 'docker build -t $APP_IMAGE .'
-
name: 'Run tests'
run: 'docker run $APP_IMAGE composer ci'
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

0 comments on commit 1b51ec0

Please sign in to comment.