Skip to content

Commit

Permalink
Replace travis by GH actions (#392)
Browse files Browse the repository at this point in the history
* Add GitHub Actions

* (actions) fix typo

* (actions) add checkout

* Delete .travis.yml
  • Loading branch information
MatthijsBurgh authored Apr 4, 2021
1 parent a6daed2 commit 5645b4c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI

on: [push, pull_request]

jobs:
ci:
name: ${{ matrix.ros_distro }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ros_distro: [kinetic, melodic]
steps:
- uses: actions/checkout@v2
- name: Docker pull
run: docker pull ros:${{ matrix.ros_distro }}-ros-core
- name: Docker build
run: docker build -t roslibjsdocker .
- name: Tests
run: docker run -v $(pwd):/root/roslibjs --rm roslibjsdocker bash -i -c 'bash /root/roslibjs/test/build.bash'
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

0 comments on commit 5645b4c

Please sign in to comment.