Skip to content

Commit

Permalink
Now using python 3.5 in build configs
Browse files Browse the repository at this point in the history
  • Loading branch information
sirfoga committed Aug 23, 2017
1 parent 3ccff87 commit f967a0c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
sudo: false
language: "python"
python:
- "3.4"
- "3.5"
install:
- "pip3 install -U pip" # upgrade pip
- "pip3 install coveralls" # for test coverage
- "git clone https://github.com/sirfoga/pyhal.git" # clone repo
- "git clone --depth=1 https://github.com/sirfoga/pyhal.git" # clone repo
- "cd pyhal"
- "pip3 install ." # run local setup
script:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HAL: Handy Algorithmic Library

[![Build Status](https://travis-ci.org/sirfoga/pyhal.svg?branch=master)](https://travis-ci.org/sirfoga/pyhal) [![Coverage Status](https://coveralls.io/repos/github/sirfoga/pyhal/badge.svg?branch=master)](https://coveralls.io/github/sirfoga/pyhal?branch=master)
[![Build Status](https://travis-ci.org/sirfoga/pyhal.svg?branch=master)](https://travis-ci.org/sirfoga/pyhal) [![Build status](https://ci.appveyor.com/api/projects/status/isfmmdaqhkbgqaeu?svg=true)](https://ci.appveyor.com/project/sirfoga/pyhal) [![Coverage Status](https://coveralls.io/repos/github/sirfoga/pyhal/badge.svg?branch=master)](https://coveralls.io/github/sirfoga/pyhal?branch=master)

[![Code Health](https://landscape.io/github/sirfoga/pyhal/master/landscape.svg?style=flat)](https://landscape.io/github/sirfoga/hal/master)
[![Code Climate](https://lima.codeclimate.com/github/sirfoga/pyhal/badges/gpa.svg)](https://codeclimate.com/github/sirfoga/pyhal)
Expand Down
30 changes: 10 additions & 20 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,14 @@ environment:

matrix:

- PYTHON: "C:\\Python33"
PYTHON_VERSION: "3.3.x" # currently 3.3.5
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5.0"
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python33-x64"
PYTHON_VERSION: "3.3.x" # currently 3.3.5
- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.0"
PYTHON_ARCH: "64"

- PYTHON: "C:\\Python34"
PYTHON_VERSION: "3.4.x" # currently 3.4.3
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python34-x64"
PYTHON_VERSION: "3.4.x" # currently 3.4.3
PYTHON_ARCH: "64"

# Python versions not pre-installed

install:
# If there is a newer build queued for the same PR, cancel this one.
# The AppVeyor 'rollout builds' option is supposed to serve the same
Expand Down Expand Up @@ -65,10 +55,10 @@ install:

build_script:
# clone repo
- "%CMD_IN_ENV% git clone --depth=1 https://github.com/sirfoga/pyhal.git"
- "%CMD_IN_ENV% cd pyhal"
- "git clone --depth=1 https://github.com/sirfoga/pyhal.git"
- "cd pyhal"
# run local setup
- "%CMD_IN_ENV% pip3 install ."
- "pip3 install ."


test_script:
Expand All @@ -77,9 +67,9 @@ test_script:

after_test:
# If tests are successful, create binary packages for the project.
- "%CMD_IN_ENV% python setup.py bdist_wheel"
- "%CMD_IN_ENV% python setup.py bdist_wininst"
- "%CMD_IN_ENV% python setup.py bdist_msi"
- "%CMD_IN_ENV% python3 setup.py bdist_wheel"
- "%CMD_IN_ENV% python3 setup.py bdist_wininst"
- "%CMD_IN_ENV% python3 setup.py bdist_msi"
- ps: "ls dist"

artifacts:
Expand Down

0 comments on commit f967a0c

Please sign in to comment.