travis: add gcc 4.4, 4.6 and 4.7

This commit is contained in:
Alam Ed Arias 2016-05-28 19:15:37 -04:00
parent ad6c2e634f
commit 02e67a4a95
2 changed files with 37 additions and 1 deletions

View file

@ -6,6 +6,42 @@ matrix:
allow_failures: allow_failures:
compiler: gcc-6 compiler: gcc-6
include: include:
- os: linux
addons:
apt:
packages:
- gcc-4.4
- libsdl2-mixer-dev
- libpng-dev
- libgl1-mesa-dev
- libgme-dev
- p7zip-full
compiler: gcc-4.4
#gcc-4.4
- os: linux
addons:
apt:
packages:
- gcc-4.6
- libsdl2-mixer-dev
- libpng-dev
- libgl1-mesa-dev
- libgme-dev
- p7zip-full
compiler: gcc-4.6
#gcc-4.6
- os: linux
addons:
apt:
packages:
- gcc-4.7
- libsdl2-mixer-dev
- libpng-dev
- libgl1-mesa-dev
- libgme-dev
- p7zip-full
compiler: gcc-4.7
#gcc-4.7
- os: linux - os: linux
compiler: gcc compiler: gcc
#gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 #gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4

View file

@ -245,7 +245,7 @@ int main(int argc, char **argv)
#endif #endif
// return to OS // return to OS
#if !defined (__GNUC__) || (__GNUC__ < 4) #if !defined (__GNUC__) || (__GNUC__ < 3)
return 0; return 0;
#endif #endif
} }