summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.appveyor.yml9
-rw-r--r--.travis.yml10
2 files changed, 12 insertions, 7 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index e6e4c64b5..050715e53 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -341,10 +341,13 @@ before_build:
Set-FilesNeeded -Auto -Path $outputs -Reason "Build dependency graph"
build_script:
- - python tools\build.py
- - ps: Set-FilesNeeded -Auto -Reason "Build finished"
+ # Build with Cargo first. Both builds produce a deno.exe in the same dir. We
+ # want the final one (which gets tested and released) to be built by Ninja.
- cargo build -vv --release
- - ps: Set-FilesNeeded -Auto -Reason "Cargo check finished"
+ - ps: Set-FilesNeeded -Auto -Reason "Cargo build finished"
+
+ - python tools\build.py
+ - ps: Set-FilesNeeded -Auto -Reason "Ninja build finished"
test_script:
- python tools\lint.py
diff --git a/.travis.yml b/.travis.yml
index beb6c98b5..59d7c7d94 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -74,14 +74,16 @@ script:
./target/debug/test_cc
- |-
+ # Build deno.exe with Cargo first. Both builds write their output to the same
+ # directory. We want the final one (which gets tested and released) to be
+ # built by Ninja.
+ cargo build --release -vv -j2
+
+- |-
# Release build and test
./tools/build.py -C target/release -j2
DENO_BUILD_MODE=release ./tools/test.py
-- |-
- # Cargo check
- cargo build --release -vv -j2
-
before_deploy:
- gzip -c target/release/deno > target/release/deno_${TRAVIS_OS_NAME}_x64.gz
deploy: