Skip to content

Commit 7dde0cd

Browse files
authored
Use Github Actions as CI instead of travis (#22)
1 parent eef1aca commit 7dde0cd

File tree

2 files changed

+26
-23
lines changed

2 files changed

+26
-23
lines changed

.github/workflows/php.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Start Container
13+
run: |
14+
docker pull lkdevelopment/hetzner-cloud-api-mock
15+
docker run -d -p 127.0.0.1:4000:8080 lkdevelopment/hetzner-cloud-api-mock
16+
docker ps -a
17+
- name: Install depdendencies
18+
run: |
19+
composer global require hirak/prestissimo
20+
composer install
21+
- name: PHP 7.1
22+
run: php7.1 vendor/bin/phpunit
23+
- name: PHP 7.2
24+
run: php7.2 vendor/bin/phpunit
25+
- name: PHP 7.3
26+
run: php7.3 vendor/bin/phpunit

.travis.yml

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

0 commit comments

Comments
 (0)