Skip to content

Commit

Permalink
circleci: fixed some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmmacleod committed Jan 17, 2019
1 parent c160762 commit e6cae4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Expand Up @@ -2,7 +2,7 @@ version: 2

run-tests: &run-tests
name: Test
command: python -m pytest --cov dqsegdb2 --pyargs dqsegdb2
command: python -m pytest --pyargs dqsegdb2

debian-build: &debian-build
steps:
Expand Down Expand Up @@ -35,7 +35,7 @@ centos-build: &centos-build
command: |
set -x;
yum -y -q update;
yum -y -q install rpm-build yum-utils;
yum -y -q install rpm-build yum-utils python${PY3XY} python3-rpm-macros;
SRPM=$(rpmbuild --define "_topdir $(pwd)" -ts ./dqsegdb2-*.tar.* | cut -d\ -f2);
yum-builddep -y -q ${SRPM};
rpmbuild --define "_rpmdir $(pwd)" --rebuild ${SRPM};
Expand Down Expand Up @@ -78,6 +78,7 @@ jobs:
docker:
- image: ligo/base:el7
environment:
PY3XY: "34"
PYTHON_VERSION: "2.7"

workflows:
Expand Down

0 comments on commit e6cae4a

Please sign in to comment.