Add circle.yml

Currently only checks for style issues

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
Benjamin Tissoires
2017-06-30 11:13:55 +02:00
committed by Jente Hidskes
parent fe287b5743
commit 7b6fcdddc0
3 changed files with 29 additions and 1 deletions

View File

@@ -32,6 +32,11 @@ Screenshots
![Piper screenshot](http://imgur.com/ELLCiSE.png)
Build Status
============
[![CircleCI](https://circleci.com/gh/libratbag/piper.svg?style=svg&circle-token=7082ad7a7fea706fff66f1547649dca32e446cb0)](https://circleci.com/gh/libratbag/piper)
License
=======

24
circle.yml Normal file
View File

@@ -0,0 +1,24 @@
version: 2
jobs:
build:
working_directory: ~/piper
docker:
- image: fedora:rawhide
steps:
- run:
command: |
dnf install -y git python3-flake8
- checkout
- run: flake8-3 . piper.in
# now install and checks the resulting file (just in case)
- run:
command: |
dnf install -y meson python3-devel pygobject3-devel
- run:
command: |
meson build
ninja -C build
- run: flake8-3 buildir/piper
- store_artifacts:
path: ~/piper/build/meson-logs

View File

@@ -50,4 +50,3 @@ if __name__ == "__main__":
signal.signal(signal.SIGINT, signal.SIG_DFL)
win = piper.Piper()
Gtk.main()