Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Switch to gitlab ci and add PYPI publish #42

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 0 additions & 70 deletions .circleci/config.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
include:
- project: flywheel-io/infrastructure/ci-templates
ref: python3
file: python3.yml

variables:
PYLINT: "false"
PYTEST: "false"

test:litmus-test:
extends: .python
stage: test
script:
- .gitlab/litmus-test.sh
2 changes: 1 addition & 1 deletion .circleci/litmus-test.sh → .gitlab/litmus-test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/usr/bin/env bash
set -euo pipefail
set -x

Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import os
from setuptools import setup

VERSION = os.environ.get('CI_COMMIT_TAG', 0)

setup(
version = '0',
name = 'gears',
version = VERSION,
name = 'flywheel_gears',
author = 'Flywheel Exchange, LLC',
author_email = '[email protected]',
description = 'Flywheel Gear tools',
url = 'https://github.com/flywheel-io/gears',
url = 'https://gitlab.com/flywheel-io/public/gears',

packages = ['gears'],
package_data = {'gears': ['../spec/manifest.schema.json']},
Expand Down