Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
021663b8
Commit
021663b8
authored
Aug 20, 2012
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis: try building our own Python
parent
caca1370
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
10 deletions
+37
-10
.gitignore
.gitignore
+1
-0
.travis.yml
.travis.yml
+6
-10
Makefile
Makefile
+30
-0
No files found.
.gitignore
View file @
021663b8
...
...
@@ -3,6 +3,7 @@ bin/
build/
develop-eggs/
eggs/
python/
*.pyc
*.egg
*.egg-info
.travis.yml
View file @
021663b8
language
:
python
python
:
-
"
2.6"
-
"
2.7"
-
"
3.2"
-
"
pypy"
env
:
-
PYTHON_VER=2.6
-
PYTHON_VER=2.7
-
PYTHON_VER=3.2
branches
:
only
:
...
...
@@ -14,10 +13,7 @@ notifications:
-
hanno@hannosch.eu
install
:
-
dpkg -l
-
deactivate
-
if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then /usr/bin/pypy dev.py; fi
-
if [[ $TRAVIS_PYTHON_VERSION <> 'pypy' ]]; then /usr/bin/python$TRAVIS_PYTHON_VERSION dev.py; fi
-
make build
script
:
-
bin/test
script
:
make test
Makefile
0 → 100644
View file @
021663b8
HERE
=
$(
shell
pwd
)
PYTHON_PATH
=
$(HERE)
/python
PYTHON_VER
?=
2.7
PYTHON_MINOR
?=
2.7.3
ifeq
($(PYTHON_VER),"2.6")
PYTHON_MINOR
?=
2.6.8
endif
ifeq
($(PYTHON_VER),"3.2")
PYTHON_MINOR
?=
3.2.3
endif
PYTHON_DOWNLOAD
?=
http://www.python.org/ftp/python/
$(PYTHON_MINOR)
/Python-
$(PYTHON_MINOR)
.tar.bz2
.PHONY
:
all build test
all
:
build
$(PYTHON_PATH)
:
@
echo
"Installing Python"
mkdir
-p
$(PYTHON_PATH)
cd
$(PYTHON_PATH)
/Python-
$(PYTHON_MINOR)
&&
\
./configure
--prefix
$(PYTHON_PATH)
&&
make
&&
make
install
@
echo
"Finished installing Python"
build
:
$(PYTHON_PATH)
$(PYTHON_PATH)
/bin/python dev.py
test
:
$(HERE)
/bin/test
-v
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment