ObjFW  Check-in [0ad184c835]

Overview
Comment:.travis.yml: Use GNU sed on Linux, ed on macOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0ad184c835a4de3247c5650cc082b66440314dc763d3753947b3cc4e662ea00d
User & Date: js on 2020-04-16 20:08:08
Other Links: manifest | tags
Context
2020-04-18
01:39
Support for multiple strings in a TXT DNS record check-in: 78eb25bdc4 user: js tags: trunk
2020-04-16
20:08
.travis.yml: Use GNU sed on Linux, ed on macOS check-in: 0ad184c835 user: js tags: trunk
2020-04-13
19:09
.travis.yml: Add Precise, arm64, ppc64le and s390x check-in: 9203831c6a user: js tags: trunk
Changes

Modified .travis.yml from [010c219c65] to [9c5268203c].

278
279
280
281
282
283
284





285


286
287
288
289
290
291
292
278
279
280
281
282
283
284
285
286
287
288
289

290
291
292
293
294
295
296
297
298







+
+
+
+
+
-
+
+








  - if [ "$config" = "amigaos" ]; then
            wget -q https://franke.ms/download/amiga-gcc.tgz;
            tar -C / -xzf amiga-gcc.tgz;
    fi

script:
  # This needs to use ed on macOS, as it has no GNU sed, and sed on Linux, as
  # some Travis hosts have no ed.
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
            echo -e '%s/-DSTDOUT$/&_SIMPLE/\nwq' | ed -s tests/Makefile;
    else
  - sed -i 's/-DSTDOUT$/&_SIMPLE/' tests/Makefile
            sed -i 's/-DSTDOUT$/&_SIMPLE/' tests/Makefile;
    fi

  - build() {
            if ! git clean -fxd >/tmp/clean_log 2>&1; then
                    cat /tmp/clean_log;
                    exit 1;
            fi;
            echo ">> Configuring with $@";