Skip to content

Commit 3dbfae5

Browse files
author
Jorge Aparicio
committed
call source from "outside"
1 parent 6124a04 commit 3dbfae5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env: TARGET=x86_64-unknown-linux-gnu
1414

1515
install:
1616
- sh ci/install.sh
17+
- source ~/.cargo/bin
1718

1819
script:
1920
- sh ci/script.sh

ci/install.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ main() {
44
curl https://sh.rustup.rs -sSf | \
55
sh -s -- -y --default-toolchain $TRAVIS_RUST_VERSION
66

7-
source ~/.cargo/env
8-
97
curl -LSfs http://japaric.github.io/trust/install.sh | \
10-
sh -s -- --force --git japaric/cross --tag v0.1.2 --target $TARGET
8+
sh -s -- \
9+
--force \
10+
--git japaric/cross \
11+
--tag v0.1.2 \
12+
--target $TARGET \
13+
--to ~/.cargo/bin
1114
}
1215

1316
# NOTE(TRAVIS_BRANCH) Travis is configured to only build *pushes* (not PRs)

0 commit comments

Comments
 (0)