Skip to content

Commit 4ac8344

Browse files
committed
Set ulimit before our trap
We set a ERR trap in the compile.sh script to catch all failures, which means when the ulimit fails, the entire build fails. There seem to be random build boxes that don't allow you to set ulimit. It is OK if setting it fails as we only use it to introspect core dumps (hopefully rarely). Setting the ulimit before the trap should fix this
1 parent 2d9d9f6 commit 4ac8344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ before_install:
2525
- sudo apt-get install cdbs debhelper build-essential python-lxml
2626

2727
before_script:
28-
- "./.travis.scripts/compile.sh"
2928
- ulimit -a
3029
- ulimit -c unlimited
30+
- "./.travis.scripts/compile.sh"
3131
- make composer
3232

3333
notifications:

0 commit comments

Comments
 (0)