~sirn/fanboi2

32967400aa4549f17db1a2780554f373f5d51128 — Kridsada Thanabulpong 6 years ago ffcfe52
Update PyPy3.
2 files changed, 6 insertions(+), 6 deletions(-)

M .travis.yml
M Vagrantfile
M .travis.yml => .travis.yml +2 -2
@@ 8,8 8,8 @@ python:
# PyPy is trying to create a ctype_config_cache, but the directory is not
# writeable. This is a hacky workaround to make it work.
before_install:
  - 'sudo mkdir -p /opt/python/pypy3-2.3.1/lib_pypy/ctypes_config_cache/__pycache__'
  - 'sudo chmod a+w /opt/python/pypy3-2.3.1/lib_pypy/ctypes_config_cache/__pycache__'
  - 'sudo mkdir -p /opt/python/pypy3-*/lib_pypy/ctypes_config_cache/__pycache__'
  - 'sudo chmod a+w /opt/python/pypy3-*/lib_pypy/ctypes_config_cache/__pycache__'

install:
  - 'pip install -e .'

M Vagrantfile => Vagrantfile +4 -4
@@ 37,10 37,10 @@ Vagrant.configure("2") do |config|
  config.vm.provision :shell, privileged: false, inline: <<-EOF
    cd /tmp
    rm -rf $HOME/pypy3
    curl -sL https://bitbucket.org/pypy/pypy/downloads/pypy3-2.3.1-linux64.tar.bz2 | tar -xjf -
    curl -sL https://bitbucket.org/pypy/pypy/downloads/pypy3-2.4.0-linux64.tar.bz2 | tar -xjf -
    mv pypy3*/ $HOME/pypy3
    curl -sL https://bootstrap.pypa.io/ez_setup.py | $HOME/pypy3/bin/pypy
    curl -sL https://bootstrap.pypa.io/get-pip.py | $HOME/pypy3/bin/pypy
    curl -sL https://bootstrap.pypa.io/ez_setup.py | $HOME/pypy3/bin/pypy3
    curl -sL https://bootstrap.pypa.io/get-pip.py | $HOME/pypy3/bin/pypy3
    echo '. "$HOME/.bashrc"' > $HOME/.profile
    echo 'export PATH="$HOME/nodejs/bin:$HOME/pypy3/bin:$HOME/bin:$PATH"' >> $HOME/.profile



@@ 55,7 55,7 @@ Vagrant.configure("2") do |config|
    rm -rf node_modules
    cp development.ini.sample development.ini
    cp alembic.ini.sample alembic.ini
    $HOME/pypy3/bin/pypy setup.py develop
    $HOME/pypy3/bin/pypy3 setup.py develop
    $HOME/pypy3/bin/alembic upgrade head
    npm install
    $HOME/nodejs/bin/brunch build