0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
Commit graph

107 commits

Author SHA1 Message Date
Ryan Dahl
19d4ba70f7
Upgrade Node to v10 on Travis (#1850) 2019-02-27 15:28:45 -05:00
Ryan Dahl
0b0d962eb9
Revert "Rewrite tools/format.py in deno (#1528)" (#1752)
tools/format.ts is making CI flaky and it's difficult to run right now.
Reverting to tools/format.py

This reverts commit f19622e768.
2019-02-12 15:20:32 -05:00
Yoshiya Hinosawa
d26655371b fix: improve formatting (#1732) 2019-02-11 12:57:26 -05:00
Ryan Dahl
c26cf4f812
travis: cache buildtools dir (#1703) 2019-02-07 16:46:19 -05:00
Ryan Dahl
aace768474
Upgrade sccache binaries to 0.2.8 (#1576)
Binaries are directly from
https://github.com/mozilla/sccache/releases/tag/0.2.8
2019-01-26 02:49:14 -05:00
JaePil Jung
7f88b5fff3 Minor code cleanups (#1570) 2019-01-24 10:54:43 -05:00
Yoshiya Hinosawa
f19622e768 Rewrite tools/format.py in deno (#1528)
Note: findFiles and findFilesWalk are borrowed from the previous
attempt of @pseudo-su (#1434)
2019-01-17 15:09:44 -05:00
Ryan Dahl
ac6ac5037f Update sccache.exe (fixes #1526) (#1529)
* Update sccache.exe (fixes #1526)

* fix
2019-01-15 18:18:02 +01:00
Bert Belder
eab457ef95
ci: upgrade rust to version 1.31.1 2019-01-14 05:03:04 +01:00
Bert Belder
56824411fa
ci: cargo build --locked 2019-01-14 02:18:18 +01:00
Ryan Dahl
a7271b7fe5 ci: use RUST_BACKTRACE=full 2019-01-03 09:45:40 -05:00
Ryan Dahl
66a603cb73 travis: remove -j2 flags 2019-01-03 09:45:40 -05:00
Ryan Dahl
531619305b travis: set -e 2018-12-24 11:31:17 -05:00
Ryan Dahl
105a5193b5 Parallelize travis
Splits into 4 jobs: gn linux, gn mac, cargo linux, LSAN linux.
2018-12-20 15:32:12 -05:00
Bert Belder
1cd18a9ac6
ci: run benchmarks before attempting to deploy them to github pages
The 'script' key in the deploy section that is supposed to run the
benchmarks isn't doing anything. Because of this, Travis bumps its head
when trying to deploy a non-existing directory to github pages, which
makes that our master branch is now consistently red.

This patch restores the setup that worked before.

This partially reverts commit aa66ef98ea.
2018-12-20 03:29:12 +01:00
Bert Belder
26794c623c
ci: change S3 access key 2018-12-20 02:23:49 +01:00
Bert Belder
aac92cb70e
ci: start sccache early and throw away the S3 access key
This avoids accidentally leaking the key in the build log.
2018-12-20 02:23:49 +01:00
Bert Belder
3631e614b2
ci: build with Cargo before building with Ninja 2018-12-19 17:50:29 +01:00
Bert Belder
73e80b0763
build: make cargo build work 2018-12-19 17:50:25 +01:00
Ryan Dahl
aa66ef98ea
travis: Set CARGO_HOME to third_party/rust_crates (#1370)
Adds prebuilt hyperfine and sccache binaries 

Only build test_cc for LSAN

Add Cargo.lock

Only run benchmarks in master
2018-12-18 21:09:30 -05:00
Ryan Dahl
7a0d9370e8 Load sccache from S3 on CI 2018-12-18 15:15:08 -05:00
Ryan Dahl
79b4140a77 travis: remove use_sysroot 2018-12-13 14:36:37 -05:00
Ryan Dahl
0bec0fa594 Remove leaks from snapshot_creator 2018-12-03 19:34:01 -08:00
Ryan Dahl
8373046719 Add LSAN build to travis.
For now it only runs test_cc and has to filter out a test which leaks.
However we will expand this over time until the entire build is LSAN clean.
2018-12-03 15:31:06 -08:00
Ryan Dahl
daa84646e1 travis: test rust version before rustup 2018-11-30 15:07:13 -08:00
Ryan Dahl
60a3b98ba0 Don't use use_custom_libcxx=false on travis. 2018-11-27 15:47:31 -08:00
Aladeen
1a876a70de travis should immediately fail when lint or test_format fails (#1172)
Fixes #1104
2018-11-08 09:19:37 -08:00
Bert Belder
ec17239f46
cargo: build in Cargo's out dir if DENO_BUILD_PATH is not set
Plus some minor improvements and clean-ups:

* Resolve DENO_BUILD_PATH to an absolute path if necessary.
* Rename DENO_BUILD_PATH to GN_OUT_DIR in places where it is supposed to
  be set by the build system (and not a user configuration variable).
* Output Cargo `rerun-if-*-changed` instructions first, so even if the
  build itself fails, configuration changes will still trigger a re-run
  of build.rs.
* Remove TODOs that are impossible.
* Re-run build.rs when the flatbuffer definition file changes.
2018-11-01 14:18:18 +01:00
Ryan Dahl
198e396ead
Support cargo check (#1128)
- Based on code from @qti3e and @piscisaureus in #724 and #1125
  respectively.
- TODO The DENO_BUILD_PATH env var must be supplied and must be an
  absolute path, this restriction should be removed in future work.
2018-10-31 11:11:10 -07:00
Bert Belder
fe97217fa8
ci: peg rust version to 1.30.0 2018-10-26 19:09:38 +02:00
Ryan Dahl
47c96a6152 CI should fail when code isn't formatted. 2018-10-21 13:59:53 -07:00
ztplz
b809a82fd9 Add missing copyrights (#1024) 2018-10-19 15:25:29 -04:00
Ryan Dahl
fda7aaa10e Use node v8 on Travis.
Apparently OSX defaults to v6 and Linux to v8.
v6 does not properly run //js/testing due to async usage.
2018-10-11 20:29:43 -04:00
Bert Belder
6b77acf39d
ci: set RUST_BACKTRACE=1 2018-10-03 05:35:38 -07:00
Bert Belder
9e317c61d7
travis: don't cache unnecessary cargo and rustup files 2018-09-26 10:25:59 -07:00
Bert Belder
07d5035dd7
travis: name CARGO_HOME and RUSTUP_HOME env vars correctly
Because this is what rustup and cargo actually use:
https://doc.rust-lang.org/cargo/reference/environment-variables.html
2018-09-26 10:25:58 -07:00
Bert Belder
1fe474ba53
travis: use sccache to cache rust targets 2018-09-26 10:25:58 -07:00
Bert Belder
f42849744b
travis: save homebrew/ccache to cache, set ccache size to 1GB 2018-09-24 17:36:14 -07:00
Kevin (Kun) "Kassimo" Qian
1729bdb0d7 Add thread count benchmark (#811) 2018-09-24 18:12:52 -04:00
Bert Belder
56acb6fa0e travis: fix the build, attempt 2 2018-09-22 12:27:50 -04:00
Bert Belder
6b868ebba4 travis: fix github pages deploy condition 2018-09-22 08:42:59 -04:00
Bert Belder
06c2e084ff
travis: run benchmarks on linux, deploy to github pages 2018-09-22 01:31:54 -07:00
Bert Belder
82ca6538b1
travis: clean up & tweaks 2018-09-22 01:31:49 -07:00
Bert Belder
516e1da54c
Revert "Add benchmark tools (#777)"
This reverts commit 3ad48bdb3e.
2018-09-21 15:18:44 -07:00
Yoshiya Hinosawa
3ad48bdb3e Add benchmark tools (#777) 2018-09-21 12:06:59 -04:00
Bert Belder
4b3a8be640 travis: allow cache to be saved when build takes too long
Kill Ninja after 35 minutes to prevent Travis from cancelling the build
due to time-out. This allows the cache to be saved, so the build can
complete when it is attempted again.
2018-08-24 20:57:32 +02:00
Andy Hayden
0208305fcd Add osx to travis 2018-08-24 00:06:05 -04:00
Ryan Dahl
0c907715a3 Travis: branches only master prevents building tags
It appears there's no way to whitelist tags in addition to master, so we
can just build all for now.
https://github.com/travis-ci/travis-ci/issues/2111
2018-08-22 14:18:09 -04:00
Ryan Dahl
cb1393cdae
Travis deploy (#548)
* Fix travis deploy / simplify build.

- No more stages, only build release mode.
- Fixes API key issue.

* Reinstate master only - testing was successful.
2018-08-21 08:42:23 -04:00
Robert Lin
2d6cb9024e Fix travis release builds (#539) 2018-08-18 11:46:40 -04:00