Commit graph

211 commits

Author SHA1 Message Date
Lars Bergstrom
c173668de4 Fix windows msi directory 2016-07-26 13:01:35 -05:00
Jack Moffitt
d8c0b87eb2 Add Windows packaging to create an MSI installer 2016-07-25 14:58:33 -06:00
Jim Berlage
7952bd00b6 Add linting for shell scripts
This changes tidy to check shell scripts for the proper shebang and
options.  It does not check that variables are formatted correctly.  It
also adds a check for the MPL 2.0 license in shell scripts.
2016-07-22 11:53:14 -05:00
Josh Matthews
04291114d7 Place apis.html in the same place as css-properties.html
Don't upload the cached results of parsing WebIDL files, too.
2016-07-15 23:47:10 -04:00
Josh Matthews
3c2435a172 Generate a list of supported DOM APIs from parsed WebIDLs. 2016-07-15 18:13:09 -04:00
bors-servo
a4b6705c02 Auto merge of #12200 - aneeshusa:add-linux-dev-yaml, r=larsbergstrom
Add linux dev yaml

<!-- Please describe your changes on the following line: -->

Sync `steps.yml` from saltfs and add `linux-dev-yaml` builder for testing steps.yml switchover. Helps with servo/saltfs#316.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because linux-dev-yaml is non-gated and other changes are running in production

<!-- 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/12200)
<!-- Reviewable:end -->
2016-07-03 19:24:28 -07:00
Aneesh Agrawal
d4c441218a Add linux-dev-yaml to buildbot_steps.yml
The `linux-dev-yaml` builder is being used to test out the switchover
of the steps.yml file from the saltfs repo to the servo repo.
2016-07-03 15:32:58 +00:00
Aneesh Agrawal
9b3ad26256 Sync steps.yml from saltfs and update Servo copy 2016-07-03 15:32:19 +00:00
Jim Berlage
137bf9f653 Adds explicit mime type to upload_nightly.sh
This changes the script to pass the `--mime-type` option to `s3cmd`, as
described [here](http://s3tools.org/usage).  The MIME type used is
`application/octet-stream`.

Fixes #12153.
2016-07-01 23:00:57 -05:00
Jacob Clark
6757a374c9 Add servo-latest on upload-nightly
Allows easy linking to nightly builds.
2016-07-01 20:17:27 +01:00
Lars Bergstrom
041cf80a70 Commit to the correct s3 folder, not file 2016-06-30 16:24:36 -05:00
Lars Bergstrom
bdab11be42 Change bucket name 2016-06-30 09:50:36 -05:00
Aneesh Agrawal
9dc9643487 Add a script to upload nightly packages to S3
The nightly package name includes the date, and so we use a glob to
locate the package file without hard coding a value. However, globbing
will not work with our Buildbot steps setup because we perform word
splitting ourselves and pass an array to Buildbot, which will directly
exec the array instead of passing it to the shell, meaning globbing
does not occur. Instead, add a script to the servo repo where we can
use globbing, and use `shopt -s failglob` to guard against bad globs.
2016-06-29 22:27:14 -04:00
Mitchell Hentges
52507c80a0 Remove --faster flag from test-tidy, go fast by default. Fixes 11217 2016-05-25 21:17:22 +02:00
Ms2ger
76fae9fa28 Move pipeline into the constellation crate. 2016-05-21 16:33:57 +02:00
Alan Jeffrey
37511cc616 Removed sources of panic from ports/glutin. 2016-05-20 11:24:24 -05:00
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
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
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
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
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
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
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