Skip to content

Commit 89d0e7f

Browse files
Merge pull request #1107 from RustPython/master
Let's update the demo site with the latest state of the art.
2 parents c8026f9 + a099ba5 commit 89d0e7f

File tree

273 files changed

+40992
-9475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+40992
-9475
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Report incompatibility
3+
about: Report an incompatibility between RustPython and CPython
4+
title: ''
5+
labels: feat
6+
assignees: ''
7+
8+
---
9+
10+
## Feature
11+
12+
<!-- What Python feature is missing from RustPython? Give a short description of the feature and how you ran into its absence. -->
13+
14+
## Python Documentation
15+
16+
<!-- Give a link to the feature in the CPython documentation (https://docs.python.org/3/) in order to assist in its implementation. -->

.github/ISSUE_TEMPLATE/rfc.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: RFC
3+
about: Make a suggestion in a Request for Comments format to RustPython
4+
title: "[RFC] "
5+
labels: RFC
6+
assignees: ''
7+
8+
---
9+
10+
## Summary
11+
12+
<!-- A quick overview of your suggestion -->
13+
14+
## Detailed Explanation
15+
16+
<!-- Elaborate on your suggestion in all its details -->
17+
18+
## Drawbacks, Rationale, and Alternatives
19+
20+
<!-- What drawbacks might this solution have? Why do you feel it is necessary? What other options might there be to solving this problem? -->
21+
22+
## Unresolved Questions
23+
24+
<!-- What would you like feedback on for fleshing out your suggestion? -->

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ __pycache__
99
.vscode
1010
wasm-pack.log
1111
.idea/
12+
tests/snippets/resources

.travis.yml

Lines changed: 14 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
language: rust
2-
3-
rust:
4-
- stable
5-
- beta
6-
- nightly
7-
8-
script:
9-
- cargo build --verbose --all
10-
- cargo test --verbose --all
11-
12-
env:
13-
# This is used to only capture the regular nightly test in allow_failures
14-
- REGULAR_TEST=true
15-
2+
rust: stable
163
cache: cargo
174

185
matrix:
196
fast_finish: true
207
include:
8+
- name: rust unittests and doctests
9+
language: rust
10+
rust: stable
11+
cache: cargo
12+
script:
13+
- cargo build --verbose --all
14+
- cargo test --verbose --all
15+
2116
# To test the snippets, we use Travis' Python environment (because
2217
# installing rust ourselves is a lot easier than installing Python)
23-
- language: python
18+
- name: python test snippets
19+
language: python
2420
python: 3.6
2521
cache:
2622
pip: true
@@ -31,21 +27,6 @@ matrix:
3127
- target
3228
env:
3329
- TRAVIS_RUST_VERSION=stable
34-
- REGULAR_TEST=false
35-
- CODE_COVERAGE=false
36-
script: tests/.travis-runner.sh
37-
- language: python
38-
python: 3.6
39-
cache:
40-
pip: true
41-
# Because we're using the Python Travis environment, we can't use
42-
# the built-in cargo cacher
43-
directories:
44-
- /home/travis/.cargo
45-
- target
46-
env:
47-
- TRAVIS_RUST_VERSION=beta
48-
- REGULAR_TEST=false
4930
- CODE_COVERAGE=false
5031
script: tests/.travis-runner.sh
5132
- name: rustfmt
@@ -61,8 +42,6 @@ matrix:
6142
# creates.)
6243
- echo > parser/src/python.rs
6344
- cargo fmt --all -- --check
64-
env:
65-
- REGULAR_TEST=false
6645
- name: publish documentation
6746
language: rust
6847
rust: stable
@@ -71,11 +50,10 @@ matrix:
7150
- cargo doc --no-deps --all
7251
if: branch = release
7352
env:
74-
- REGULAR_TEST=false
7553
- DEPLOY_DOC=true
7654
- name: WASM online demo
7755
language: rust
78-
rust: nightly
56+
rust: stable
7957
cache: cargo
8058
install:
8159
- nvm install node
@@ -87,7 +65,6 @@ matrix:
8765
- npm run dist
8866
if: branch = release
8967
env:
90-
- REGULAR_TEST=false
9168
- DEPLOY_DEMO=true
9269
- name: cargo-clippy
9370
language: rust
@@ -97,8 +74,6 @@ matrix:
9774
- rustup component add clippy
9875
script:
9976
- cargo clippy
100-
env:
101-
- REGULAR_TEST=true
10277
- name: Code Coverage
10378
language: python
10479
python: 3.6
@@ -111,9 +86,10 @@ matrix:
11186
- target
11287
script:
11388
- tests/.travis-runner.sh
89+
# Only do code coverage on master via a cron job.
90+
if: branch = master AND type = cron
11491
env:
11592
- TRAVIS_RUST_VERSION=nightly
116-
- REGULAR_TEST=false
11793
- CODE_COVERAGE=true
11894
- name: test WASM
11995
language: python
@@ -133,11 +109,8 @@ matrix:
133109
script:
134110
- wasm/tests/.travis-runner.sh
135111
env:
136-
- REGULAR_TEST=true
137112
- TRAVIS_RUST_VERSION=stable
138113
allow_failures:
139-
- rust: nightly
140-
env: REGULAR_TEST=true
141114
- name: cargo-clippy
142115

143116
deploy:

0 commit comments

Comments
 (0)