Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
persistent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
persistent
Commits
1df6a6ed
Commit
1df6a6ed
authored
May 24, 2016
by
Marius Gedminas
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #36 from fgregg/master
CI for travis and appveyor
parents
133ada31
857da497
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
8 deletions
+80
-8
.travis.yml
.travis.yml
+43
-8
appveyor.yml
appveyor.yml
+37
-0
No files found.
.travis.yml
View file @
1df6a6ed
language
:
python
language
:
python
sudo
:
false
sudo
:
false
python
:
matrix
:
-
2.7
include
:
-
3.3
-
os
:
linux
-
3.4
python
:
2.7
-
3.5
-
os
:
linux
-
pypy
python
:
3.3
-
pypy3
-
os
:
linux
python
:
3.4
-
os
:
linux
python
:
3.5
-
os
:
linux
python
:
pypy
-
os
:
linux
python
:
pypy3
-
os
:
osx
language
:
generic
env
:
TERRYFY_PYTHON='homebrew 2'
-
os
:
osx
language
:
generic
env
:
TERRYFY_PYTHON='macpython 3.4'
-
os
:
osx
language
:
generic
env
:
TERRYFY_PYTHON='homebrew 3.5'
before_install
:
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then git clone https://github.com/MacPython/terryfy; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source terryfy/travis_tools.sh; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then get_python_environment $TERRYFY_PYTHON venv; fi
-
if [[ "$TERRYFY_PYTHON" == "homebrew 3" ]]; then alias pip=`which pip3` ; fi
install
:
install
:
-
pip install .
-
pip install
-e
.
script
:
script
:
-
python setup.py -q test -q
-
python setup.py -q test -q
notifications
:
notifications
:
email
:
false
email
:
false
after_success
:
-
echo [distutils] > ~/.pypirc
-
echo index-servers = pypi >> ~/.pypirc
-
echo [pypi] >> ~/.pypirc
-
echo repository=https://pypi.python.org/pypi >> ~/.pypirc
-
echo username=zope.wheelbuilder >> ~/.pypirc
-
echo password=$PYPIPASSWORD >> ~/.pypirc
-
if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then pip install twine; fi
-
if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then python setup.py bdist_wheel; fi
-
if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then twine upload dist/*; fi
env
:
global
:
secure
:
"
crhnoUI22xUnHzK9B7DY/okdKNVqc5FEbMzV8qj8iclhZpJTZ+D7z2nmEDZuWes3Ar7TlinM9cI4AP0irmjSJMJOKMKXv3ucb7Rr85c7wn0HuKFI1QJwV7OO5kVIbX+McQYmASXZEsl5lDwF4hi1JMKFOwVEU7X6O4u03L3qRrI="
\ No newline at end of file
appveyor.yml
0 → 100644
View file @
1df6a6ed
environment
:
password
:
secure
:
RtpeKCle25vCixaUcJBu6Q==
matrix
:
-
python
:
27
-
python
:
27-x64
-
python
:
33
-
python
:
34
-
python
:
35
install
:
-
"
SET
PATH=C:
\\
Python%PYTHON%;c:
\\
Python%PYTHON%
\\
scripts;%PATH%"
-
echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
-
pip install -e .
build
:
false
test_script
:
-
python setup.py -q test -q
on_success
:
-
echo Build succesful!
deploy_script
:
-
echo [distutils] > %USERPROFILE%\\.pypirc
-
echo index-servers = >> %USERPROFILE%\\.pypirc
-
echo pypi >> %USERPROFILE%\\.pypirc
-
echo [pypi] >> %USERPROFILE%\\.pypirc
-
echo repository=https://pypi.python.org/pypi >> %USERPROFILE%\\.pypirc
-
echo username=zope.wheelbuilder >> %USERPROFILE%\\.pypirc
-
echo password=%password% >> %USERPROFILE%\\.pypirc
-
set HOME=%USERPROFILE%
-
pip install wheel twine
-
ps
:
if($env:APPVEYOR_REPO_TAG -eq $TRUE) { python -W ignore setup.py bdist_wheel; twine upload dist/* }
deploy
:
on
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment