Skip to content

Commit

Permalink
Merge eed2e21 into abc8393
Browse files Browse the repository at this point in the history
  • Loading branch information
moyogo committed Nov 12, 2015
2 parents abc8393 + eed2e21 commit 41ade61
Show file tree
Hide file tree
Showing 6 changed files with 1,735 additions and 1,697 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ install:
python:
- "2.7"
- "3.4"
- "3.5"
script:
- coverage run normalization/ufonormalizer.py -t
- ufonormalizer -t | tee /dev/stderr | grep "\*\*\*Test Failed\*\*\*"; if [[ ${PIPESTATUS[2]} == "0" ]]; then exit 1 ; fi
- python setup.py test
after_success:
coveralls
66 changes: 66 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
environment:

matrix:
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python34"
PYTHON_VERSION: "3.4.0"
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5.0"
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "64"

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

- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.x"
PYTHON_ARCH: "64"

init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"

install:
# install Python and pip when not already installed
- ps: (new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/pypa/python-packaging-user-guide/master/source/code/install.ps1', 'install.ps1')
- ps: if (-not(Test-Path($env:PYTHON))) { & install.ps1 }

# prepend newly installed Python to the PATH
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

# check that we have the expected version and architecture for Python
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""

# upgrade pip to avoid out-of-date warnings
- "pip install --disable-pip-version-check --user --upgrade pip"

# install wheel to build compiled packages
# - "pip install --upgrade wheel"

# install requirements
- "pip install git+https://github.com/behdad/fonttools.git"

# install
- "python setup.py install"

build: false

test_script:
- "python setup.py test"

# after_test:
# # if tests are successful, create binary packages for the project
# - "pip wheel -w dist ."

# artifacts:
# # archive the generated packages in the ci.appveyor.com build report
# - path: dist\*
Empty file added normalization/__init__.py
Empty file.
Loading

0 comments on commit 41ade61

Please sign in to comment.