File tree 3 files changed +14
-18
lines changed
3 files changed +14
-18
lines changed Original file line number Diff line number Diff line change 1
1
dist : trusty
2
- language : generic
2
+ language : ruby
3
3
services : docker
4
4
sudo : required
5
5
Original file line number Diff line number Diff line change @@ -3,13 +3,14 @@ set -ex
3
3
. $( dirname $0 ) /env.sh
4
4
5
5
install_qemu () {
6
- case $TRAVIS_OS_NAME in
7
- linux)
8
- apt-get update
9
- apt-get install -y --no-install-recommends \
10
- binfmt-support qemu-user-static
11
- ;;
12
- esac
6
+ if [[ $TRAVIS_OS_NAME = " linux" ]]; then
7
+ apt-get install -y --no-install-recommends \
8
+ binfmt-support qemu-user-static
9
+ fi
10
+ }
11
+
12
+ install_gist () {
13
+ gem install gist
13
14
}
14
15
15
16
install_binutils () {
@@ -44,7 +45,9 @@ install_xargo() {
44
45
45
46
main () {
46
47
if [[ $TRAVIS_OS_NAME == " osx" || ${IN_DOCKER_CONTAINER:- n} == " y" ]]; then
48
+ apt-get update
47
49
install_qemu
50
+ install_gist
48
51
install_binutils
49
52
install_rust
50
53
add_rustup_target
Original file line number Diff line number Diff line change 3
3
. $( dirname $0 ) /env.sh
4
4
5
5
gist_it () {
6
- gist -ap -f " '$1 ' from commit '$TRAVIS_COMMIT ' on branch '$TRAVIS_BRANCH '"
6
+ gist -d " '$TARGET /rustc-builtins.rlib ' from commit '$TRAVIS_COMMIT ' on branch '$TRAVIS_BRANCH '"
7
7
echo " Disassembly available at the above URL."
8
8
}
9
9
@@ -16,14 +16,7 @@ inspect() {
16
16
$PREFIX$NM -g --defined-only target/** /debug/* .rlib
17
17
18
18
set +e
19
- case $TRAVIS_OS_NAME in
20
- linux)
21
- $PREFIX$OBJDUMP -Cd target/** /release/* .rlib | gist_it " $TARGET /rustc-builtins.rlib"
22
- ;;
23
- osx)
24
- $PREFIX$OBJDUMP -Cd target/** /release/* .rlib
25
- ;;
26
- esac
19
+ $PREFIX$OBJDUMP -Cd target/** /release/* .rlib | gist_it
27
20
set -e
28
21
29
22
# Check presence of weak symbols
@@ -49,7 +42,7 @@ run_tests() {
49
42
50
43
main () {
51
44
if [[ $TRAVIS_OS_NAME == " linux" && ${IN_DOCKER_CONTAINER:- n} == " n" ]]; then
52
- local tag=2016-08-22
45
+ local tag=2016-08-13
53
46
54
47
docker run \
55
48
--privileged \
You can’t perform that action at this time.
0 commit comments