]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - jacinto-ai/caffe-jacinto.git/blob - .travis.yml
Merge pull request #1555 from drdan14/draw-net-improvements
[jacinto-ai/caffe-jacinto.git] / .travis.yml
1 # Use a build matrix to do two builds in parallel:
2 # one using CMake, and one using make.
3 env:
4   matrix:
5     - WITH_CUDA=false WITH_CMAKE=false
6     - WITH_CUDA=false WITH_CMAKE=true
7     - WITH_CUDA=true WITH_CMAKE=false
8     - WITH_CUDA=true WITH_CMAKE=true
10 language: cpp
12 # Cache Ubuntu apt packages.
13 cache: apt
15 compiler: gcc
17 before_install:
18   - export NUM_THREADS=4
19   - export SCRIPTS=./scripts/travis
21 install:
22   - sudo -E $SCRIPTS/travis_install.sh
24 before_script:
25   - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/cuda/lib64
26   - export PATH=/home/travis/miniconda/bin:$PATH
27   - if ! $WITH_CMAKE; then $SCRIPTS/travis_setup_makefile_config.sh; fi
29 script: $SCRIPTS/travis_build_and_test.sh
31 notifications:
32 # Emails are sent to the committer's git-configured email address by default,
33 # but only if they have access to the repository.  To enable Travis on your
34 # public fork of Caffe, just go to travis-ci.org and flip the switch on for
35 # your Caffe fork.  To configure your git email address, use:
36 #     git config --global user.email me@example.com
37   email:
38     on_success: always
39     on_failure: always
41 # IRC notifications disabled by default.
42 # Uncomment next 5 lines to send notifications to chat.freenode.net#caffe
43 #   irc:
44 #     channels:
45 #       - "chat.freenode.net#caffe"
46 #     template:
47 #       - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"