CI/travis/ fix triggering multiple builds

Travis CI has multiple job states to account for (queued, received, etc).
In some conditions, the number of created + started == 1, which typically
happens during multiple Travis-CI builds running.

It's also hard to say "job[state] not in [list states]" since there are so
many job states to account for. So we try to account for the ones we could
identify so far.

Travis' API docs are not that great either. They claims it's
self-documenting. Oh well...

Signed-off-by: Alexandru Ardelean <>
1 file changed
tree: b58e51fd7df126b83b9a7002963e1b7aad84e278
  1. .gitignore
  2. .gitmodules
  3. .travis.yml
  4. CI/
  5. CMakeLists.txt
  6. COPYING.txt
  7. Distribution.xml.cmakein
  10. appveyor.yml
  11. backend.c
  12. bindings/
  13. buffer.c
  14. channel.c
  15. cmake/
  16. context.c
  17. debug.h
  18. deps/
  19. device.c
  20. doc/
  21. examples/
  22. iio-config.h.cmakein
  23. iio-lock.h
  24. iio-private.h
  25. iio.h
  26. iiod-client.c
  27. iiod-client.h
  28. iiod/
  29. libiio.iss.cmakein
  30. libiio.pc.cmakein
  31. libiio.rules.cmakein
  32. local.c
  33. lock.c
  34. mainpage.dox
  35. network.c
  36. properties.rc.cmakein
  37. scan.c
  38. serial.c
  39. sort.c
  40. sort.h
  41. tests/
  42. usb.c
  43. utilities.c
  44. xml.c
  45. xml/


Library for interfacing with Linux IIO devices

libiio is used to interface to the Linux Industrial Input/Output (IIO) Subsystem. The Linux IIO subsystem is intended to provide support for devices that in some sense are analog to digital or digital to analog converters (ADCs, DACs). This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. You can use libiio natively on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target from a host Linux, Windows or MAC over USB or Ethernet or Serial.

Although libiio was primarily developed by Analog Devices Inc., it is an active open source library, which many people have contributed to. It released under the GNU Lesser General Public License, version 2.1 or later, this open-source license allows anyone to use the library, on any vendors processor/FPGA/SoC, which may be controlling any vendors peripheral device (ADC, DAC, etc) either locally or remotely. This includes closed or open-source, commercial or non-commercial applications (subject to the LGPL license freedoms, obligations and restrictions).

License : License Latest Release : GitHub release Downloads : Github All Releases

Scans : Coverity Scan Build Status Release docs: Documentation Issues : open bugs closed bugs

If you have a question about libiio and an Analog Devices IIO kernel driver please ask on : EngineerZone. If you have a question about a non-ADI devices, please ask it on github.

As with many open source packages, we use GitHub to do develop and maintain the source, and Travis CI and Appveyor for continuous integration.

  • If you want to just use libiio, we suggest using the latest release.
  • If you think you have found a bug in the release, or need a feature which isn't in the release, try the latest untested binaries from the master branch and check out the documentation based on the master branch. We provide builds for a few operating systems. If you need something else, we can most likely add that -- just ask.
Operating SystemGitHub master statusVersionPrimary Installer PackageAlternative Package, tarball or zip
WindowsWindows StatusWindows 10
Windows 8.1
Windows 8
Windows 7
Latest Windows installerLatest Windows zip
OS XOSX StatusOS X High Sierra
(v 10.13)
OS-X package 10.13OS-X tarball 10.10
macOS Sierra
(v 10.12)
OS-X package 10.12OS-X tarball 10.12
OS X El Capitan
(v 10.11)
OS-X package 10.11OS-X tarball 10.11
LinuxLinux StatusUbuntu Bionic Beaver
(v 18.04)1
DebianRPM File tar.gz
Ubuntu Xenial Xerus
(v 16.04)1
DebianRPM File tar.gz file
Ubuntu Trusty Tahr
(v 14.04)1
DebianRPM File tar.gz file
CentOS 7RPM FileDebian tar.gz
CentOS 6RPM FileDebian tar.gz

If you use it, and like it - please let us know. If you use it, and hate it - please let us know that too. The goal of the project is to try to make Linux IIO devices easier to use on a variety of platforms. If we aren't doing that - we will try to make it better.

Feedback is appreciated (in order of preference):


  1. The Ubuntu packages are known to work on their Debian counterpart releases.