Skip to content

Commit fbebffe

Browse files
author
Taichi Inaba
committed
Add GitHub Actions workflow, Remove TravisCI yml
1 parent 296a3cb commit fbebffe

File tree

2 files changed

+24
-11
lines changed

2 files changed

+24
-11
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: php-java test
2+
on: push
3+
jobs:
4+
test:
5+
runs-on: ${{ matrix.operating-system }}
6+
strategy:
7+
matrix:
8+
operating-system: [ ubuntu-18.04 ]
9+
php: [ '7.3', '7.4' ]
10+
name: PHP ${{ matrix.php }}
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@master
14+
15+
- name: Setup PHP and Run test
16+
uses: nanasess/setup-php@master
17+
with:
18+
php-version: ${{ matrix.php }}
19+
- run: |
20+
curl -s https://get.sdkman.io | bash
21+
source "${HOME}/.sdkman/bin/sdkman-init.sh"
22+
sdk install kotlin
23+
composer install
24+
composer run tests

.travis.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)