[pypy-commit] lang-smalltalk default: add travis config
timfel
noreply at buildbot.pypy.org
Tue Apr 16 11:05:29 CEST 2013
Author: Tim Felgentreff <timfelgentreff at gmail.com>
Branch:
Changeset: r273:ffb67c65b697
Date: 2013-04-16 11:04 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/ffb67c65b697/
Log: add travis config
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+language: python
+python:
+ - 2.7
+env:
+ matrix:
+ - TEST_TYPE=own
+ - TEST_TYPE=translate
+install:
+ - pip install rsdl --use-mirrors
+ - wget https://bitbucket.org/pypy/pypy/get/default.tar.bz2 -O `pwd`/../pypy.tar.bz2 || wget https://bitbucket.org/pypy/pypy/get/default.tar.bz2 -O `pwd`/../pypy.tar.bz2
+ - tar -xf `pwd`/../pypy.tar.bz2 -C `pwd`/../
+ - mv ../pypy-pypy* ../pypy-pypy
+script:
+ - export PYTHONPATH=$PYTHONPATH:../pypy-pypy/:.
+ - "case \"$TEST_TYPE\" in
+ own)
+ py.test
+ ;;
+ translate)
+ python ../pypy-pypy/rpython/bin/rpython --batch targetimageloadingsmalltalk.py
+ ;;
+ esac"
More information about the pypy-commit
mailing list