File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 5
5
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
6
6
echo "$DOCKER_HUB_PASSWORD" | docker login --username stephanmisc --password-stdin
7
7
fi
8
- - curl https://raw.githubusercontent.com/stepchowfun/bake/master/install.sh -LSfs | VERSION=0.9 .0 sh
8
+ - curl https://raw.githubusercontent.com/stepchowfun/bake/master/install.sh -LSfs | VERSION=0.11 .0 sh
9
9
script :
10
10
- |
11
11
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
Original file line number Diff line number Diff line change @@ -2,20 +2,20 @@ image: ubuntu:18.04
2
2
default : ci
3
3
tasks :
4
4
install_packages :
5
- command : |-
5
+ command : |
6
6
set -euo pipefail
7
7
apt-get update
8
8
apt-get install --yes build-essential curl
9
9
10
10
install_tagref :
11
11
dependencies :
12
12
- install_packages
13
- command : |-
13
+ command : |
14
14
set -euo pipefail
15
15
curl https://raw.githubusercontent.com/stepchowfun/tagref/master/install.sh -LSfs | VERSION=1.1.0 sh
16
16
17
17
create_user :
18
- command : |-
18
+ command : |
19
19
set -euo pipefail
20
20
adduser --disabled-password --gecos '' user
21
21
24
24
- install_packages
25
25
- create_user
26
26
user : user
27
- command : |-
27
+ command : |
28
28
set -euo pipefail
29
29
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable-2019-04-25-x86_64-unknown-linux-gnu
30
30
. $HOME/.cargo/env
44
44
- Cargo.lock
45
45
- Cargo.toml
46
46
user : user
47
- command : |-
47
+ command : |
48
48
set -euo pipefail
49
49
. $HOME/.cargo/env
50
50
mv Cargo.lock Cargo.lock.og
65
65
input_paths :
66
66
- src
67
67
user : user
68
- command : |-
68
+ command : |
69
69
set -euo pipefail
70
70
. $HOME/.cargo/env
71
71
cargo build
74
74
dependencies :
75
75
- build
76
76
user : user
77
- command : |-
77
+ command : |
78
78
set -euo pipefail
79
79
. $HOME/.cargo/env
80
80
cargo test
86
86
- .ignore # Used by `tagref`
87
87
- rustfmt.toml # Used by `cargo fmt`
88
88
user : user
89
- command : |-
89
+ command : |
90
90
set -euo pipefail
91
91
. $HOME/.cargo/env
92
92
cargo fmt --all -- --check
98
98
- build
99
99
user : user
100
100
command : |
101
- set -euxo pipefail
101
+ set -euo pipefail
102
102
. $HOME/.cargo/env
103
103
cargo run
104
104
@@ -117,7 +117,7 @@ tasks:
117
117
output_paths :
118
118
- artifacts
119
119
user : user
120
- command : |-
120
+ command : |
121
121
set -euo pipefail
122
122
. $HOME/.cargo/env
123
123
cargo build --release
You can’t perform that action at this time.
0 commit comments