Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
minijson
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
minijson
Commits
1a032dd1
Unverified
Commit
1a032dd1
authored
1 year ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
travis is out
parent
bff08429
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+0
-173
0 additions, 173 deletions
.travis.yml
with
0 additions
and
173 deletions
.travis.yml
deleted
100644 → 0
+
0
−
173
View file @
bff08429
language
:
python
stages
:
-
name
:
test
-
name
:
deploy
if
:
tag is present
cache
:
pip
before_script
:
-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
-
chmod +x ./cc-test-reporter
-
./cc-test-reporter before-build
-
pip install -r requirements.txt
-
pip install pytest coverage pytest-cov
after_script
:
-
coverage xml
-
coverage report
-
./cc-test-reporter after-build -t coverage.py --exit-code ${TRAVIS_TEST_RESULT}
jobs
:
include
:
-
stage
:
test
python
:
"
pypy3.5"
before_script
:
-
pypy3 -m pip install -r requirements.txt
-
pypy3 -m pip install pytest
script
:
-
pypy3 setup.py install
-
pytest
after_script
:
-
echo "Do nothing"
-
stage
:
test
python
:
"
3.8"
arch
:
"
arm64"
before_script
:
-
pip install -r requirements.txt
-
pip install pytest coverage pytest-cov
after_script
:
-
coverage xml
-
coverage report
script
:
-
DEBUG=1 python setup.py install
-
pytest --cov=./ --cov-report=xml
-
stage
:
test
python
:
"
3.8"
script
:
-
DEBUG=1 python setup.py install
-
pytest --cov=./ --cov-report=xml
-
stage
:
test
python
:
"
3.5"
script
:
-
DEBUG=1 python setup.py install
-
pytest --cov=./ --cov-report=xml
-
stage
:
test
python
:
"
3.6"
script
:
-
DEBUG=1 python setup.py install
-
pytest --cov=./ --cov-report=xml
-
stage
:
test
python
:
"
3.7"
script
:
-
DEBUG=1 python setup.py install
-
pytest --cov=./ --cov-report=xml
-
stage
:
test
python
:
"
3.9"
script
:
-
DEBUG=1 python setup.py install
-
pytest --cov=./ --cov-report=xml
-
stage
:
deploy
python
:
"
3.8"
before_script
:
-
sudo apt-get update
-
sudo apt-get install -y patchelf
-
pip install wheel auditwheel twine doctor-wheel cython
script
:
-
python setup.py bdist_wheel
-
cd dist
-
doctor-wheel *.whl
-
auditwheel repair --plat manylinux2014_x86_64 *.whl
-
cd wheelhouse
-
twine upload -u $PYPI_USER -p $PYPI_PWD *.whl
after_script
:
-
echo "Done"
-
stage
:
deploy
python
:
"
3.8"
arch
:
"
arm64"
before_script
:
-
sudo apt-get update
-
sudo apt-get install -y patchelf
-
pip install wheel auditwheel twine doctor-wheel cython
script
:
-
python setup.py bdist_wheel
-
cd dist
-
doctor-wheel *.whl
-
auditwheel repair --plat manylinux2014_aarch64 *.whl
-
cd wheelhouse
-
twine upload -u $PYPI_USER -p $PYPI_PWD *.whl
after_script
:
-
echo "Done"
-
stage
:
deploy
python
:
"
3.9"
before_script
:
-
sudo apt-get update
-
sudo apt-get install -y patchelf
-
pip install wheel auditwheel twine doctor-wheel cython
script
:
-
python setup.py bdist_wheel
-
cd dist
-
doctor-wheel *.whl
-
auditwheel repair --plat manylinux2014_x86_64 *.whl
-
cd wheelhouse
-
twine upload -u $PYPI_USER -p $PYPI_PWD *.whl
after_script
:
-
echo "Done"
-
stage
:
deploy
python
:
"
3.7"
before_script
:
-
sudo apt-get update
-
sudo apt-get install -y patchelf
-
pip install wheel auditwheel twine doctor-wheel cython
script
:
-
python setup.py bdist_wheel
-
cd dist
-
doctor-wheel *.whl
-
auditwheel repair --plat manylinux2014_x86_64 *.whl
-
cd wheelhouse
-
twine upload -u $PYPI_USER -p $PYPI_PWD *.whl
after_script
:
-
echo "Done"
-
stage
:
deploy
python
:
"
3.6"
before_script
:
-
sudo apt-get update
-
sudo apt-get install -y patchelf
-
pip install wheel auditwheel twine doctor-wheel cython
script
:
-
python setup.py bdist_wheel sdist
-
cd dist
-
doctor-wheel *.whl
-
auditwheel repair --plat manylinux2014_x86_64 *.whl
-
cd wheelhouse
-
twine upload -u $PYPI_USER -p $PYPI_PWD *.whl ../*.gz
after_script
:
-
echo "Done"
-
stage
:
deploy
python
:
"
3.5"
before_script
:
-
sudo apt-get update
-
sudo apt-get install -y patchelf
-
pip install wheel auditwheel twine doctor-wheel cython
script
:
-
python setup.py bdist_wheel
-
cd dist
-
doctor-wheel *.whl
-
auditwheel repair --plat manylinux2014_x86_64 *.whl
-
cd wheelhouse
-
twine upload -u $PYPI_USER -p $PYPI_PWD *.whl
after_script
:
-
echo "Done"
-
stage
:
deploy
python
:
"
pypy3.5"
before_script
:
-
sudo apt-get update
-
sudo apt-get install -y patchelf
-
pypy3 -m pip install -U wheel auditwheel twine doctor-wheel cython
script
:
-
pypy3 setup.py bdist_wheel
-
cd dist
-
doctor-wheel *.whl
-
auditwheel repair --plat manylinux2014_x86_64 *.whl
-
cd wheelhouse
-
twine upload -u $PYPI_USER -p $PYPI_PWD *.whl
after_script
:
-
echo "Done"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment