morpheus

A Matrix client written in Go-QT
git clone git://archive.git.mtrnord.blog/Nordgedanken/morpheus.git
Log | Files | Refs | README | LICENSE

commit 1a46d85af4c6ddc5e2d88094606df8958b773b90
parent e947cac6d752d5b48465096d729098b573f43535
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  5 Dec 2017 20:19:17 +0100

Use CircleCIv2

Signed-off-by: MTRNord <mtrnord1@gmail.com>

Diffstat:
A.circleci/config.yml | 24++++++++++++++++++++++++
Dcircle.yml | 20--------------------
2 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -0,0 +1,23 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/golang:latest + steps: + - checkout + - run: echo 'export OS=linux' >> $BASH_ENV + - run: echo 'export DESKTOP=true' >> $BASH_ENV + - run: echo 'export QT_PKG_CONFIG=true' >> $BASH_ENV + - run: + name: qt-binding + command: go get -u -v github.com/therecipe/qt/cmd/... + - run: + name: qt + command: if [[ "$OS" == "linux" ]]; then chmod +x ./.ci/linux.sh && ./.ci/linux.sh; fi + - run: + name: qt-binding setup + command: qtsetup full desktop + - run: + name: get Morpheus + command: go get -v github.com/Nordgedanken/Morpheus/... + - run: if [[ "$DESKTOP" == "true" ]]; then cd $GOPATH/src/github.com/Nordgedanken/Morpheus/ && qtdeploy test desktop; fi +\ No newline at end of file diff --git a/circle.yml b/circle.yml @@ -1,20 +0,0 @@ -machine: - environment: - OS: linux - DESKTOP: true - GOROOT: /usr/local/go - GOPATH: /home/ubuntu/.go_project - QT_PKG_CONFIG: true -dependencies: - pre: - override: - - go get -u -v github.com/therecipe/qt/cmd/... - - if [[ "$OS" == "linux" ]]; then chmod +x ./.ci/linux.sh && ./.ci/linux.sh; fi - - /home/ubuntu/.go_project/bin/qtsetup full desktop - - go get -v github.com/Nordgedanken/Morpheus/... - post: -test: - pre: - override: - - if [[ "$DESKTOP" == "true" ]]; then /home/ubuntu/.go_project/bin/qtsetup && cd /home/ubuntu/.go_project/src/github.com/Nordgedanken/Morpheus/ && /home/ubuntu/.go_project/bin/qtdeploy test desktop; fi - post: