Skip to content

Commit 74761db

Browse files
committed
Build with CPython 3.6.
1 parent d0e27bb commit 74761db

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@ rust:
33
- stable
44
- beta
55
- nightly
6-
sudo: required
7-
dist: trusty
8-
addons:
9-
apt:
10-
packages:
11-
- python3.4
126
before_script:
13-
- python3 -m compileall -b pythonlib examples
7+
- wget https://hg.python.org/cpython/archive/tip.tar.bz2
8+
- tar -xf tip.tar.bz2
9+
- cd cpython-*
10+
- ./configure --prefix=$HOME/.local/
11+
- make -j 2
12+
- make install
13+
- cd ..
14+
- ~/.local/bin/python3 -m compileall -b pythonlib examples
1415
script:
1516
- cargo test
16-
- ./run_functional_tests.py
17+
- ~/.local/bin/python3 run_functional_tests.py
1718
matrix:
1819
allow_failures:
1920
- rust: nightly

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A Python virtual machine, written in Rust.
1212

1313
## Goals
1414

15-
* Compatible with CPython's bytecode from 3.4 to 3.6, in order to take advantage of [FAT Python](https://faster-cpython.readthedocs.org/fat_python.html)
15+
* Compatible with CPython 3.6's bytecode, in order to take advantage of [FAT Python](https://faster-cpython.readthedocs.org/fat_python.html)
1616
* Support CPython's implementation of the standard library
1717
* No crash, even when messing with code objects
1818
* Bytecode optimizations at runtime

0 commit comments

Comments
 (0)