ObjFW  Check-in [fdef4054ff]

Overview
Comment:.travis.yml: Configure IPX on precise to run tests
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fdef4054ff11e48e7b487cf3c654c31ffa8ec0130590d5b2e72b1e3e914a3084
User & Date: js on 2020-04-26 09:37:57
Other Links: manifest | tags
Context
2020-04-26
10:06
Make GCC 4.6 happy again check-in: 37e6faa76f user: js tags: trunk
09:37
.travis.yml: Configure IPX on precise to run tests check-in: fdef4054ff user: js tags: trunk
09:13
Skip IPX tests when IPX is not configured check-in: 1d6d86241a user: js tags: trunk
Changes

Modified .travis.yml from [9c5268203c] to [6d385d9409].

241
242
243
244
245
246
247
248
249
250
251
252
253
254




255
256
257
258




259
260
261
262
263
264
265
      env:
        - config=wii

before_install:
  - if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
            case "$TRAVIS_CPU_ARCH" in
                    amd64 | s390x)
                            gobjc_pkg="gobjc-multilib";
                            ;;
                    *)
                            gobjc_pkg="gobjc";
                            ;;
            esac;





            if ! sudo apt-get -qq install -y $gobjc_pkg >/tmp/apt_log 2>&1; then
                    cat /tmp/apt_log;
                    exit 1;
            fi;




    fi

  - if [ "$config" = "nintendo_3ds" -o "$config" = "nintendo_ds"
        -o "$config" = "wii" ]; then
            wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb;
            sudo dpkg -i devkitpro-pacman.deb;
    fi







|


|



>
>
>
>
|



>
>
>
>







241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
      env:
        - config=wii

before_install:
  - if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
            case "$TRAVIS_CPU_ARCH" in
                    amd64 | s390x)
                            pkgs="gobjc-multilib";
                            ;;
                    *)
                            pkgs="gobjc";
                            ;;
            esac;

            if grep precise /etc/lsb-release >/dev/null; then
                    pkgs="$pkgs ipx";
            fi;

            if ! sudo apt-get -qq install -y $pkgs >/tmp/apt_log 2>&1; then
                    cat /tmp/apt_log;
                    exit 1;
            fi;

            if grep precise /etc/lsb-release >/dev/null; then
                    sudo ipx_internal_net add 1234 123456;
            fi;
    fi

  - if [ "$config" = "nintendo_3ds" -o "$config" = "nintendo_ds"
        -o "$config" = "wii" ]; then
            wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb;
            sudo dpkg -i devkitpro-pacman.deb;
    fi