diff options
| author | Bert Belder <bertbelder@gmail.com> | 2018-12-19 11:27:15 +0100 |
|---|---|---|
| committer | Bert Belder <bertbelder@gmail.com> | 2018-12-19 17:50:29 +0100 |
| commit | 3631e614b2f21bc3bac19d4998a943ab51452b5b (patch) | |
| tree | b90ce1f41ba12117e6961c7f2f3ad527cb958140 /.travis.yml | |
| parent | 73e80b0763cf2e14f7dc26d679d3b457106597cc (diff) | |
ci: build with Cargo before building with Ninja
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 10 |
1 files changed, 6 insertions, 4 deletions
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: |
