Skip to content

Commit e90556f

Browse files
authored
Merge pull request #682 from LaurentGoderre/build-speedup
Speed up the build
2 parents 37f7e2a + d9db679 commit e90556f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#### DO NOT MODIFY. THIS FILE IS AUTOGENERATED ####
22

33
dist: trusty
4-
sudo: required
4+
sudo: false
55

66
language: generic
77

test-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function build () {
3232

3333
info "Building $full_tag..."
3434

35-
if ! docker build -t node:"$full_tag" "$path"; then
35+
if ! docker build --cpuset-cpus="0,1" -t node:"$full_tag" "$path"; then
3636
fatal "Build of $full_tag failed!"
3737
fi
3838
info "Build of $full_tag succeeded."

travis.yml.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dist: trusty
2-
sudo: required
2+
sudo: false
33

44
language: generic
55

0 commit comments

Comments
 (0)