ObjFW  Diff

Differences From Artifact [82e1b8c899]:

  • File .travis.yml — part of check-in [8dca47ec20] at 2018-02-17 16:54:40 on branch trunk — .travis.yml: Several small improvements

    * Reduce the iOS deployment target to 9.0.
    * Define _Nonnull, _Nullable and _Null_unspecified for Xcode 6.
    Xcode 6 used __nonnull, __nullable and __null_unspecified instead,
    while already defining __has_feature(nullability).
    * Always set WRAPPER=true for iOS simulator builds.
    Old versions of Xcode generated binaries that target the simulator
    but could be executed outside of it, resulting in the tests being run
    as configure noticed it can run binaries, but the tests failing
    because they expected an iOS environment. (user: js, size: 8199) [annotate] [blame] [check-ins using]

To Artifact [2fcc91601e]:


62
63
64
65
66
67
68
69
70


71
72
73
74



75
76
77
78
79
80
81
62
63
64
65
66
67
68


69
70
71
72


73
74
75
76
77
78
79
80
81
82







-
-
+
+


-
-
+
+
+







    - os: linux
      dist: trusty
      env:
        - config=devkitpsp

before_install:
  - if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
            if ! sudo apt-get -qq update >apt_log 2>&1; then
                    cat apt_log;
            if ! sudo apt-get -qq update >/tmp/apt_log 2>&1; then
                    cat /tmp/apt_log;
                    exit 1;
            fi;
            if ! sudo apt-get -qq install -y gobjc-multilib >apt_log 2>&1; then
                    cat apt_log;
            if ! sudo apt-get -qq install -y gobjc-multilib >/tmp/apt_log 2>&1;
            then
                    cat /tmp/apt_log;
                    exit 1;
            fi;
    fi

  - if [ "$config" = "devkitarm" ]; then
            base_url="https://download.sourceforge.net/project/devkitpro";
            wget -q "$base_url/devkitARM/devkitARM_r46/devkitARM_r46-x86_64-linux.tar.bz2"
111
112
113
114
115
116
117
118
119


120
121
122
123
124
125
126
127
128
129
130


131
132
133
134
135


136
137
138
139
140
141
142
112
113
114
115
116
117
118


119
120
121
122
123
124
125
126
127
128
129


130
131
132
133
134


135
136
137
138
139
140
141
142
143







-
-
+
+









-
-
+
+



-
-
+
+







            tar -C "$HOME/devkitPro" -xjf devkitPSP_r16-1-x86_64-linux.tar.bz2;
    fi

script:
  - echo -e '%s/-DSTDOUT$/&_SIMPLE/\nwq' | ed -s tests/Makefile

  - build() {
            if ! git clean -fxd >clean_log 2>&1; then
                    cat clean_log;
            if ! git clean -fxd >/tmp/clean_log 2>&1; then
                    cat /tmp/clean_log;
                    exit 1;
            fi;
            echo ">> Configuring with $@";
            ./autogen.sh;
            if ! ./configure ac_cv_path_TPUT= "$@"; then
                    cat config.log;
                    exit 1;
            fi;
            echo ">> Building (configured with $@)";
            if ! make -j4 >make_log 2>&1; then
                    cat make_log;
            if ! make -j4 >/tmp/make_log 2>&1; then
                    cat /tmp/make_log;
                    exit 1;
            fi;
            echo ">> Installing (configured with $@)";
            if ! sudo PATH="$PATH" make install >install_log 2>&1; then
                    cat install_log;
            if ! sudo PATH="$PATH" make install >/tmp/install_log 2>&1; then
                    cat /tmp/install_log;
                    exit 1;
            fi;
    }

  - if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
            build_32_64() {
                    build OBJC="$CC" $@;