Skip to content

Commit

Permalink
bump version to 0.5.0
Browse files Browse the repository at this point in the history
update setup.py script
in check.sh automatically, build python wheel for all buildtest repos
and installing them in conda environment to test installation of packages
  • Loading branch information
shahzebsiddiqui committed Oct 8, 2018
1 parent fc060c9 commit 837c634
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 8 deletions.
2 changes: 1 addition & 1 deletion buildtest/tools/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import yaml

# read the BUILDTEST env vars from the shell environment that is sourced by setup.sh
BUILDTEST_VERSION="0.4.1"
BUILDTEST_VERSION="0.5.0"
BUILDTEST_ROOT = os.getenv("BUILDTEST_ROOT")

BUILDTEST_JOB_EXTENSION = [".lsf", ".slurm", ".pbs"]
Expand Down
30 changes: 29 additions & 1 deletion check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,41 @@
ml Anaconda3
conda create -y -n buildtest-check argcomplete PyYAML
source activate buildtest-check
# building python wheel for buildtest-framework
cd ~/github/buildtest-framework
rm dist/*
python setup.py sdist
pip install dist/*


# building python wheel for R-buildtest-config
cd ~/github/R-buildtest-config/
rm dist/*
python setup.py sdist


# building python wheel for Python-buildtest-config
cd ~/github/Python-buildtest-config/
rm dist/*
python setup.py sdist


# building python wheel for Ruby-buildtest-config
cd ~/github/Ruby-buildtest-config/
rm dist/*
python setup.py sdist


# building python wheel for Perl-buildtest-config
cd ~/github/Perl-buildtest-config/
rm dist/*
python setup.py sdist

pip install dist/* ~/github/R-buildtest-config/dist/* ~/github/Python-buildtest-config/dist/* ~/github/Perl-buildtest-config/dist/* ~/github/Ruby-buildtest-config/dist/*

cd $HOME
which _buildtest

sh ~/github/buildtest-framework/success_test.sh
rm -rf ~/.conda/envs/buildtest-check

conda create -y -n
10 changes: 4 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
from setuptools import setup, find_packages
from buildtest.tools.config import BUILDTEST_VERSION

VERSION="0.4.0"
setup(name='buildtest-framework',
version=BUILDTEST_VERSION,
author='Shahzeb Siddiqui',
Expand Down Expand Up @@ -56,9 +55,8 @@
"argcomplete",
"PyYAML",
"buildtest-configs",
"Python-buildtest-config=="+VERSION,
"Perl-buildtest-config=="+VERSION,
"Ruby-buildtest-config=="+VERSION,
"R-buildtest-config=="+VERSION,
"Python-buildtest-config=="+BUILDTEST_VERSION,
"Perl-buildtest-config=="+BUILDTEST_VERSION,
"Ruby-buildtest-config=="+BUILDTEST_VERSION,
"R-buildtest-config=="+BUILDTEST_VERSION,
]
)

0 comments on commit 837c634

Please sign in to comment.