Skip to content

Commit 7a67c4b

Browse files
committed
Setup Travis-CI deployment and version 0.1.0
1 parent 2cf03fc commit 7a67c4b

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

.travis.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
language: c
1+
language: python
22
sudo: required
33
dist: trusty
44
compiler: gcc
55
matrix:
66
include:
77
- os: linux
88
python: '2.7'
9+
- os: linux
10+
python: '3.4'
11+
- os: linux
12+
python: '3.5'
913
- os: linux
1014
python: '3.6'
1115
addons:
@@ -15,7 +19,7 @@ addons:
1519
- python-dev
1620
- python3-dev
1721
install:
18-
- sudo python -m pip install -U pip scikit-build
22+
- python -m pip install -U pip scikit-build
1923
before_script:
2024
- mkdir cmake-build
2125
script:
@@ -24,6 +28,19 @@ script:
2428
- make
2529
- sudo make install
2630
- cd ..
27-
- sudo env "PATH=$PATH" python setup.py install
31+
- python setup.py install
2832
- cd ..
2933
- python -c 'import masterkeys'
34+
- cd masterkeys-linux
35+
- python setup.py bdist_wheel
36+
deploy:
37+
provider: releases
38+
api_key:
39+
secure: lXCsKO3uk3IxAnTmy+ES6oOYivGEBNYnR6LPA1AhclMiYMEY37qb0EFWZF9ne2TI4bzIwoe9sDGA11IPXuL8yVwayPNjOG60viTv+LAB2y3gHXziGAy8PdEqcO3jXnY8M07HxG5DwwJMHaAnfJeuzv+nsYGoMEmXfHPWXEb/OiaQ8ieqrHlxysSHkpNt8zzfW26jenbEQHnq2hw5s41f47eCvYCVBph2KeJAcpy8DfRhTeYo+tb7umwCU2mT8w3y6/jwwVh4FNMq+D5MVHD+0crW0dIY9bmA/p05YLN64qE51z6l2Tpo+OL7Aafd3RWJ2r1NnEdMxJpQbb/AFoBZHSxbKkAp3TDOl+/i9ZUAfoZ+JJ5gPi5WuBy69Y1JLAO7OtzPG6Sgb3WtSRAPojmE4389Q6/tvwcPFUudytLuC23tRuaOUm66nUVBmbadA+vhMbScwf6cINwPvUYQbsrX0/77N3zVJZ0ZLNhFucfp2vFnnGBxsqAM7PK2rLIMxx9nNi/3Yy/Fjy4eDD8v10wJQDFsNk3pvsisFi+JkqFw2cB3QURVVn9Ao2/EoDIlU5Yr6O99ZefaHPTlNXjs24H9LI/mae1Ct0t5R8qUKndoanDIwvwukvHU8nLmWrBFi8fxH5aC0Gta09ku9q6tmz5Wpbn+kpT9wWJf03GwMfa1yVg=
40+
file: dist/*.whl
41+
file_glob: true
42+
on:
43+
tags: true
44+
repo: RedFantom/masterkeys-linux
45+
branch: master
46+
skip_cleanup: true

libmk/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Author: RedFantom
22
# License: GNU GPLv3
33
# Copyright (c) 2018 RedFantom
4-
project(libmk VERSION 0.1.5 DESCRIPTION "MasterKeys RGB Library")
4+
project(libmk VERSION 0.1.0 DESCRIPTION "MasterKeys RGB Library")
55
include(FindLibUSB.txt)
66

77
add_library(mk SHARED libmk/libmk.c)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name="masterkeys",
15-
version="0.1.5",
15+
version="0.1.0",
1616
description="MasterKeys Control Library",
1717
packages=["masterkeys"],
1818
zip_safe=False

0 commit comments

Comments
 (0)