-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
44 lines (38 loc) · 873 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: c
compiler:
- gcc
matrix:
include:
- python: "2.7"
os: linux
- python: "2.7"
os: osx
- python: "2.6"
os: osx
- python: "2.5"
os: osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install pip2; pip2 install wheel; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; sudo apt-get install -qq python-pip; sudo pip install wheel; fi
script:
# Build C lib
- ./autogen.sh
- ./configure
- make
# Run main librxvm test suite
- make check
- alias pip=pip2
# Build python extension and run tests
- python setup.py build
- python setup.py bdist_wheel
- sudo pip install . --upgrade
- python pyrxvm/test/test.py
deploy:
provider: releases
skip_cleanup: true
file_glob: true
file: pyrxvm/dist/*
api-key: $GITHUB_TOKEN
on:
repo: eriknyquist/librxvm
tags: true