2016-06-05 20:46:54 -07:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
language: generic
|
|
|
|
|
2016-06-22 11:28:01 -07:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
2016-10-25 22:39:21 -07:00
|
|
|
python: "2.7"
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
python: "3.5"
|
2016-06-22 11:28:01 -07:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7
|
2016-10-25 22:39:21 -07:00
|
|
|
python: "2.7"
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7
|
|
|
|
python: "3.5"
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
python: "2.7"
|
|
|
|
env: LINT=1
|
|
|
|
before_install:
|
|
|
|
# In case we ever want to use a different version of clang-format:
|
|
|
|
#- wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
|
|
|
#- echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty main" | sudo tee -a /etc/apt/sources.list > /dev/null
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq clang-format-3.8
|
|
|
|
install: []
|
|
|
|
script:
|
|
|
|
- .travis/check-git-clang-format-output.sh
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
python: "2.7"
|
|
|
|
env: VALGRIND=1
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq valgrind
|
|
|
|
script:
|
2016-10-28 11:56:16 -07:00
|
|
|
- cd src/plasma
|
|
|
|
- make valgrind
|
|
|
|
- cd ../..
|
|
|
|
|
|
|
|
- python src/plasma/test/test.py valgrind
|
|
|
|
|
2016-10-25 22:39:21 -07:00
|
|
|
- python src/photon/test/test.py valgrind
|
2016-06-05 20:46:54 -07:00
|
|
|
|
|
|
|
install:
|
2016-10-25 22:39:21 -07:00
|
|
|
- ./install-dependencies.sh
|
|
|
|
- ./build.sh
|
|
|
|
|
|
|
|
- cd src/common/lib/python
|
|
|
|
- sudo python setup.py install
|
|
|
|
- cd ../../../..
|
|
|
|
|
|
|
|
- cd src/photon/lib/python
|
|
|
|
- sudo python setup.py install
|
|
|
|
- cd ../../../..
|
|
|
|
|
|
|
|
- source src/plasma/setup-env.sh
|
2016-06-05 20:46:54 -07:00
|
|
|
|
|
|
|
script:
|
2016-10-25 22:39:21 -07:00
|
|
|
- python src/common/test/test.py
|
|
|
|
- python src/plasma/test/test.py
|
|
|
|
- python src/photon/test/test.py
|