-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
39 lines (31 loc) · 1003 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
services:
- docker
env:
- CI=travis
before_install:
# Update GNU Make to a version that supports output grouping of parallel executed targets
- |
( \
test -d ~/.make/make-4.1 || \
( \
mkdir -p ~/.make && \
pushd ~/.make && wget http://ftp.gnu.org/gnu/make/make-4.1.tar.gz && \
tar xvf make-4.1.tar.gz && cd make-4.1 && \
./configure && make && popd \
) \
) && pushd ~/.make/make-4.1 && sudo make install && sudo ln -sf /usr/local/bin/make /usr/bin/make && popd
before_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
# Export travis interal functions for folding and timing based on: http://www.garbers.co.za/2017/11/01/code-folding-and-timing-in-travis-ci/
- export -f travis_nanoseconds
- export -f travis_fold
- export -f travis_time_start
- export -f travis_time_finish
script:
- make --keep-going -j --output-sync=recurse publish
branches:
only:
- master
cache:
directories:
~/.make