My favorites | Sign in
Project Home Downloads Wiki Issues Source
Repository:
Checkout   Browse   Changes   Clones  
Changes to /build-test.sh
2e6d5fa8abf4 vs. 431aadb3c826 Compare: vs.  Format:
Revision 431aadb3c826
Go to: 
Project members, sign in to write a code review
/build-test.sh   2e6d5fa8abf4 /build-test.sh   431aadb3c826
1 #!/bin/bash 1 #!/bin/bash
2 2
3 RELEASE=`egrep "version=" setup.py | sed -e "s/.*'\(.*\)'.*/\\1/"` 3 RELEASE=`egrep "version=" setup.py | sed -e "s/.*'\(.*\)'.*/\\1/"`
4 VERSION=`echo $RELEASE | sed -e "s/.*?\([0-9]\.[0-9]\).*/\\1/"` 4 VERSION=`echo $RELEASE | sed -e "s/.*?\([0-9]\.[0-9]\).*/\\1/"`
5 5
6 rm -fr test 6 rm -fr test
7 7
8 mkdir test 8 mkdir test
9 #virtualenv --python=python2.7 --no-site-packages test 9 #virtualenv --python=python2.7 --no-site-packages test
10 #virtualenv --python=python2.6 --no-site-packages test 10 #virtualenv --python=python2.6 --no-site-packages test
11 virtualenv3 --python=python3.1 --no-site-packages test 11 virtualenv --python=python3.2 --no-site-packages test
12 12
13 cd test 13 cd test
14 source bin/activate 14 source bin/activate
15 15
16 easy_install ../dist/LEPL-$RELEASE.tar.gz 16 easy_install ../dist/LEPL-$RELEASE.tar.gz
17 #easy_install-3.1 ../dist/LEPL-$RELEASE.tar.gz 17 #easy_install-3.1 ../dist/LEPL-$RELEASE.tar.gz
18 18
19 python -c 'from lepl._test import all; all()' 19 python -c 'from lepl._test import all; all()'
20 #python3.1 -c 'from lepl._test import all; all()' 20 #python3.1 -c 'from lepl._test import all; all()'
21 21
Powered by Google Project Hosting