Skip to content

Commit

Permalink
Disabling tests to get to travis faster
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaschiasson committed Jul 21, 2019
1 parent 6e1b17a commit db6adb8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ version:tags:
except:
- latest

test:cargo:
stage: test
image: rust:1.36.0
script:
- rustc --version && cargo --version
- cargo test --all --verbose
only:
- branches
# test:cargo:
# stage: test
# image: rust:1.36.0
# script:
# - rustc --version && cargo --version
# - cargo test --all --verbose
# only:
# - branches

.build:template: &build_template
stage: build
Expand Down
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ cache: cargo

before_script: sed -i "s/version = \"0.0.0\"/version = \"$(./version.sh tags)\"/" Cargo.toml

script: cargo build --verbose --release
script:
- cargo build --verbose --release
- find .

before_deploy: cp target/release/mir ${BINARY_NAME}
before_deploy:
- cp target/release/mir ${BINARY_NAME}
- find .

deploy:
script: find .
provider: releases
api_key:
secure: ${GITHUB_PERSONAL_ACCESS_TOKEN}
Expand Down

0 comments on commit db6adb8

Please sign in to comment.