Skip to content

Commit 1cea714

Browse files
committed
Swapped from TravisCI to Github Actions.
1 parent 186dcf6 commit 1cea714

File tree

3 files changed

+46
-35
lines changed

3 files changed

+46
-35
lines changed

.github/workflows/build.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Build
2+
3+
# Controls when the action will run.
4+
# Run this workflow every time a new commit pushed to your repository
5+
on:
6+
# Triggers the workflow on push or pull request events.
7+
push:
8+
pull_request:
9+
10+
# Allows you to run this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-18.04
19+
env:
20+
DISPLAY: :0
21+
22+
# Steps represent a sequence of tasks that will be executed as part of the job
23+
steps:
24+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25+
- uses: actions/checkout@v2
26+
27+
# Runs a set of commands using the runners shell
28+
- name: Run a multi-line script
29+
run: |
30+
sudo apt-get install -y xvfb qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev qt5-default qttools5-dev-tools
31+
# start xvfb in the background
32+
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
33+
cur=`pwd`
34+
wget http://www.coppeliarobotics.com/files/CoppeliaSim_Edu_V4_1_0_Ubuntu18_04.tar.xz
35+
tar -xf CoppeliaSim_Edu_V4_1_0_Ubuntu18_04.tar.xz
36+
export COPPELIASIM_ROOT="$cur/CoppeliaSim_Edu_V4_1_0_Ubuntu18_04"
37+
echo $COPPELIASIM_ROOT
38+
ls -al
39+
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$COPPELIASIM_ROOT:$COPPELIASIM_ROOT/platforms
40+
export QT_QPA_PLATFORM_PLUGIN_PATH=$COPPELIASIM_ROOT
41+
pip3 install -r requirements.txt
42+
pip3 install setuptools
43+
pip3 install .
44+
mv pyrep _pyrep
45+
python3 -m unittest discover tests

.travis.yml

-30
This file was deleted.

README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
# PyRep [![Build Status](https://travis-ci.com/stepjam/PyRep.svg?token=bQxtiYV3p3bPYhzWMoLi&branch=master)](https://travis-ci.com/stepjam/PyRep) [![Documentation Status](https://readthedocs.org/projects/pyrep/badge/?version=latest)](https://pyrep.readthedocs.io/en/latest/?badge=latest) [![Discord](https://img.shields.io/discord/694945313638842378.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/eTMsa5Y)
1+
# PyRep [![Build Status](https://github.com/stepjam/PyRep/workflows/Build/badge.svg)](https://github.com/stepjam/PyRep/actions) [![Documentation Status](https://readthedocs.org/projects/pyrep/badge/?version=latest)](https://pyrep.readthedocs.io/en/latest/?badge=latest) [![Discord](https://img.shields.io/discord/694945313638842378.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/eTMsa5Y)
22

33

44
__PyRep is a toolkit for robot learning research, built on top of [CoppeliaSim](http://www.coppeliarobotics.com/) (previously called V-REP).__
55

6-
__NOTE:__ V-REP has recently been changed to CoppeliaSim.
7-
If you had an old version of V-REP/PyRep installed, you should removing all
8-
references of V-REP from your bashrc/zshrc (VREP_ROOT, LD_LIBRARY_PATH,
9-
QT_QPA_PLATFORM_PLUGIN_PATH), and then re-run through the installation section.
106

117
- [Install](#install)
128
- [Getting Started](#getting-started)

0 commit comments

Comments
 (0)