Commit graph

566 commits

Author SHA1 Message Date
bors-servo
2d5dc8fa6d Auto merge of #11251 - asajeffrey:check-no-unwrap-check-for-files, r=aneeshusa
Added test that files exist to etc/ci/check_no_unwrap.sh.

Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` does not report any errors
- [X] No github issue.

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this PR updates test code.

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11251)
<!-- Reviewable:end -->
2016-05-19 07:25:12 -07:00
Alan Jeffrey
a6990b26ac Added test that files exist to etc/ci/check_no_unwrap.sh. 2016-05-19 08:02:26 -05:00
Alan Jeffrey
d16d2a076a Updated etc/ci/check_no_unwrap.sh for new constellation crate. 2016-05-18 09:53:22 -05:00
Aneesh Agrawal
cca3f7a105 Remove etc/ci/retry.sh
It was added with the intention of being used on the CI,
but it was never added to the CI. We have better ways of finding
test failures and intermittents these days.
2016-04-30 23:51:39 -04:00
Aneesh Agrawal
1e0d039511 Clean up CI bash scripts, add docs/STYLE_GUIDE.md 2016-04-30 23:51:29 -04:00
bors-servo
d3f55fbf60 Auto merge of #10917 - askeing:fix_10909, r=aneeshusa
The manifest_changed.sh doesn't need binary to update the manifests

fix #10909

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10917)
<!-- Reviewable:end -->
2016-04-30 08:37:27 -07:00
askeing
d41180ef08 The manifest_changed.sh doesn't need binary to update the manifests 2016-04-30 13:05:28 +09:00
bors-servo
f75fa5283e Auto merge of #10902 - asajeffrey:remove-explicit-panic-from-compositor, r=aneeshusa
Remove panic! from the compositor

Fixes #10864, and adds a check to `/etc/ci/check_no_unwrap.sh`.

r? @aneeshusa

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10902)
<!-- Reviewable:end -->
2016-04-29 17:25:17 -07:00
bors-servo
a7a8eba13e Auto merge of #10899 - asajeffrey:chaos-monkey-ci, r=aneeshusa
Added /etc/ci/chaos_monkey_test.py.

Add a test to `/etc/ci` which runs a subset of `test-wpt` with `--random-pipeline-failure-probability=0.2`, and checks to make sure that there's no `CRASH` reports, so the constellation survived the experience, even if a lot of tests failed.

IRC conversation at http://logs.glob.uno/?c=mozilla%23servo&s=27+Apr+2016&e=27+Apr+2016#c416510

Fixes #10568.

r? @aneeshusa

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10899)
<!-- Reviewable:end -->
2016-04-29 16:01:45 -07:00
Alan Jeffrey
5db92870ff Remove panic! from the compositor 2016-04-29 11:10:33 -05:00
Alan Jeffrey
ac037280e1 Added /etc/ci/chaos_monkey_test.py. 2016-04-29 09:54:20 -05:00
bors-servo
fbc575407d Auto merge of #10849 - shinglyu:yaml, r=aneeshusa
Move buildbot step to yaml

This is a step of https://github.com/servo/saltfs/issues/316

After this patch lands, we'll PR the saltfs code to read from this yaml file, and dynamically generate test steps at runtime.

cc @aneeshusa @edunham

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10849)
<!-- Reviewable:end -->
2016-04-27 21:23:04 -07:00
Shing Lyu
c01aa9cce8 Move buildbot step to yaml 2016-04-28 10:46:15 +08:00
askeing
098a562b01 Adding absolute_import to check_dynamic_symbols.py 2016-04-26 10:01:57 +09:00
askeing
f5d87a37ec Put each unexpected dynamic symbols on its own line 2016-04-25 23:40:21 +09:00
Simon Sapin
7787b21e30 Move Mako-related files into a new sub-directory.
There’s gonna be more of them.
2016-04-20 14:49:27 +02:00
Simon Sapin
b7eb720c74 Merge list_properties.py into build_properties_rs.py 2016-04-20 14:41:42 +02:00
Matthias Krüger
dc4fe7e337 travis: add and run script which checks if listed files contain "unwrap". Should fix #10446. 2016-04-08 20:11:08 +02:00
Jussi Räsänen
e576fe94b2 Generate html and json of supported css properties.
Outputs html and json file of supported css properties to target/doc/
directory when deploying github-pages.
2016-03-28 16:32:14 +03:00
Lars Bergstrom
0f1107baef Remove rustc wrapper script for gold in favor of using RUSTFLAGS 2016-03-25 10:50:21 -05:00
Aneesh Agrawal
b8eb19e566 Add Python 3 compatibility to Android symbol checker
Make the script that checks for undefined Android symbols compatible
with both Python 2 and Python 3, to allow for future updates to the
default system Python on our build machines.

I'd like to land this before https://github.com/servo/saltfs/pull/249.

We currently use Ubuntu 14.04 (an LTS release); Ubuntu is aiming for
Python 3 as the default Python in the next LTS release, 16.04, and
I'd like to have any scripts be ready for the transition.
2016-03-20 18:16:15 -04:00
Cengiz Can
135429fa63 Add a script to CI to check dynamic symbols in Android binary #8351 2016-03-18 01:22:14 +02:00
Simon Sapin
f787e1a07b Use rustdoc’s new --passes strip-priv-imports flag.
https://github.com/rust-lang/rust/pull/32055

This will make e.g. http://doc.servo.org/servo/index.html#reexports
stop listing `extern crate` and `use` statements that don’t have `pub`.
2016-03-07 15:03:32 +01:00
Ms2ger
fd77ab5c5b Disable the manifest check for css tests. 2016-03-01 19:09:18 +01:00
Manish Goregaokar
26a6ed5873 Add CI script to retry builds 2016-02-09 01:40:44 +05:30
Lars Bergstrom
864fe53956 Revert "Remove gold hack, since it's in rustc automatically now"
This reverts commit 2955d895a4.
2016-01-28 11:49:08 -06:00
Lars Bergstrom
2955d895a4 Remove gold hack, since it's in rustc automatically now 2016-01-15 07:18:00 -06:00
Alan Jeffrey
5ca06b5dcb Add a valgrind suppression file.
Adding a suppression file reduces the number of false positives from memcheck. Run with:
```
valgrind --suppressions=etc/valgrind-memcheck.supp servo ...
```
For the moment, this just switches off the warnings generated by jemalloc.
2015-12-17 10:36:03 -06:00
Martin Feckie
7fafc6c1f6 Also run checks for test-css MANIFEST.json 2015-11-21 10:33:39 +11:00
Martin Feckie
a024c1c296 Only use single * and ignore mach output 2015-11-21 09:58:22 +11:00
Martin Feckie
9c5e9dc96c Run manifest-update without running tests prior to checking diff 2015-11-21 09:35:43 +11:00
Martin Feckie
3f34ee345e Add script to check if MANIFEST.json is changes in wpt 2015-11-19 22:19:14 +11:00
Martin Feckie
cef839e454 Add script to check if MANIFEST.json files change 2015-11-19 22:17:29 +11:00
Manish Goregaokar
9b02531d12 Add script to check if lockfile was changed 2015-11-06 00:42:33 +05:30
bors-servo
628c2a0432 Auto merge of #8036 - frewsxcv:travis, r=metajack
Travis CI building cleanup, enable caching

The only reason the Dockerfile was introduced is because the default
machines that Travis uses are based on Ubuntu 12.04, which has some very
old incompatible dependencies with Servo. Docker allowed use to use a
new version of Ubuntu, allowing us to compile with ease. I just learned
that they are currently beta testing 14.04 support:

http://docs.travis-ci.com/user/trusty-ci-environment/

This commit updates our Travis config to remove our dependency on Docker
and just build directly on the images, reducing some complexity and also
overhead of downloading Docker images.

In addition, this commit also enables caching of the .servo and .cargo
directories on Travis in an attempt to reduce build times.

http://docs.travis-ci.com/user/caching/#Arbitrary-directories

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8036)
<!-- Reviewable:end -->
2015-10-16 14:09:36 -06:00
Ms2ger
18f36d075c Remove long-obsolete /etc/patches directory. 2015-10-16 14:47:58 +02:00
Corey Farwell
dbe6da874b Travis CI building cleanup, enable caching
The only reason the Dockerfile was introduced is because the default
machines that Travis uses are based on Ubuntu 12.04, which has some very
old incompatible dependencies with Servo. Docker allowed use to use a
new version of Ubuntu, allowing us to compile with ease. I just learned
that they are currently beta testing 14.04 support:

http://docs.travis-ci.com/user/trusty-ci-environment/

This commit updates our Travis config to remove our dependency on Docker
and just build directly on the images, reducing some complexity and also
overhead of downloading Docker images.

In addition, this commit also enables caching of the .servo and .cargo
directories on Travis in an attempt to reduce build times.

http://docs.travis-ci.com/user/caching/#Arbitrary-directories
2015-10-15 15:54:03 -04:00
Corey Farwell
ad399bd76f Build Servo on Travis 2015-10-08 10:59:06 -04:00
Simon Sapin
1dab9294f4 Only use a rustc wrapper script when ld.gold is available.
Fixes #7247.
2015-08-17 09:20:07 +02:00
Simon Sapin
fb7a53c6cf Use the gold linker when available.
This shaves 50 seconds off the build time on my machine.
2015-08-15 18:09:18 +02:00
Simon Sapin
bf2dfaf60e Make doc comments not truncated again.
`rustdoc --passes "collapse-docs unindent-comments"` doesn’t work is intended.
It still generate HTML files that look alright at a glance,
but all doc-comments are truncated to their first line
for some reason I don’t understand.

See http://doc.servo.org/script/dom/index.html for example.
The module documentation there is currently just
“The implementation of the DOM.”, but clicking the [src] link
shows a much larger doc-comment.

https://github.com/rust-lang/rust/issues/15347#issuecomment-122785714

The correct invokation is to use `--passes` multiple times.
2015-07-20 09:30:31 +02:00
Simon Sapin
c85bfe1350 Include private items in ./mach doc and http://doc.servo.org/
See https://github.com/rust-lang/rust/issues/15347
2015-07-17 22:31:57 +02:00
Jack Moffitt
a0237085c6 Use Cargo's target directory sharing.
This speeds up `./mach build --dev` followed by `./mach build-cef` by a
large amount, and also speeds up other build combos found in our CI.
2015-06-15 11:48:47 -06:00
Corey Farwell
848c57653c Add flake8 to the tidy process for Python files
Fixes #6236

Also included in this commit are the changes need to make flake8 pass
for the existing python file
2015-06-04 11:17:34 -04:00
Matt Brubeck
f6bd2cb48a Update layout viewer docs 2015-04-20 14:50:22 -07:00
Manish Goregaokar
090dd9369f Only SSL CA certs 2015-01-31 16:10:17 +05:30
Manish Goregaokar
524331d232 Add xpcshell script and warning 2015-01-31 15:40:54 +05:30
Simon Sapin
d25c66904e Have 'mach doc' copy Rust documentation. 2014-12-02 21:48:52 -08:00
Simon Sapin
cc4ea7507f Make build system more independent of current directory. 2014-12-02 18:04:06 -08:00
Simon Sapin
2f413c8937 Move the servo crate from root to components/servo 2014-12-02 18:03:39 -08:00