Skip to content

Commit c85ece6

Browse files
committed
run cross in rust subdir
1 parent 7ce72cc commit c85ece6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ before_cache:
114114
# Travis can't cache files that are not readable by "others"
115115
- chmod -R a+r $HOME/.cache/pip
116116
- chmod -R a+r $HOME/.cache/pyenv
117+
- chmod -R a+r $HOME/.cargo
117118

118119
cache:
119120
# There is a "cache: cargo" option but it's fails if target/ isn't in the build dir

ci/script.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
set -ex
44

5-
# TODO This is the "test phase", tweak it as you see fit
65
main() {
6+
# move into rust project subdir
7+
cd trust_pypi_example/rust/
8+
79
cross build --target $TARGET
810
cross build --target $TARGET --release
911

0 commit comments

Comments
 (0)