An ISO 'C' (1994) compliant runtime library for Amiga systems...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.9KB

  1. sudo: required
  2. dist: trusty
  3. language: c
  4. # download and install our required cross compilers
  5. install:
  6. # Make sure we can install i386 packages as some adtools binaries
  7. # requires i386 libraries being installed to work in the 64bit env
  8. # of Travis
  9. - sudo dpkg --add-architecture i386
  10. - sudo apt-get -qq update || true
  11. - sudo apt-get -qq install libc6:i386
  12. # Install all adtools related stuff we need
  13. - curl -L https://dl.bintray.com/jens-maus/adtools/adtools-utils.tar.bz2 | sudo tar xj -C /
  14. - if [[ ${BUILD} =~ os3|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-m68k-amigaos.tar.bz2 | sudo tar xj -C / ; fi
  15. - if [[ ${BUILD} =~ os4|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-ppc-amigaos.tar.bz2 | sudo tar xj -C / ; fi
  16. - if [[ ${BUILD} =~ mos|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-ppc-morphos.tar.bz2 | sudo tar xj -C / ; fi
  17. - if [[ ${BUILD} =~ aros-ppc|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-ppc-aros.tar.bz2 | sudo tar xj -C / ; fi
  18. - if [[ ${BUILD} =~ aros-i386|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-i386-aros.tar.bz2 | sudo tar xj -C / ; fi
  19. - if [[ ${BUILD} =~ aros-x86_64|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-x86_64-aros.tar.bz2 | sudo tar xj -C / ; fi
  20. - if [[ ${BUILD} =~ mingw32|release ]]; then sudo apt-get -qq install binutils-mingw-w64-i686 gcc-mingw-w64-i686 ; fi
  21. # set the PATH variable to the directories the cross compilers are installed.
  22. before_script:
  23. - export PATH=/usr/local/amiga/bin:/opt/m68k-amigaos/bin:/opt/ppc-amigaos/bin:/opt/ppc-morphos/bin:${PATH}
  24. # specify a list of variables to test (here we test the build for our supported
  25. # list of operating systems).
  26. env:
  27. - BUILD="-f GNUmakefile.68k OS=os3"
  28. - BUILD="-f GNUmakefile.os4 OS=os4"
  29. # the build command to execute for each test
  30. script:
  31. - make -C library -j1 ${BUILD}