doc update
[jacinto-ai/caffe-jacinto.git] / .travis.yml
1 dist: trusty
2 sudo: required
4 language: cpp
5 compiler: gcc
7 env:
8   global:
9     - NUM_THREADS=8
10   matrix:
11     # Use a build matrix to test many builds in parallel
12     # envvar defaults:
13     #   WITH_CMAKE: false
14     #   WITH_PYTHON3: false
15     #   WITH_CUDA: const true since v0.17
16     #   WITH_CUDNN: false
17     - BUILD_NAME="default-make"
18 #   - BUILD_NAME="python3-make" WITH_PYTHON3=true
19     - BUILD_NAME="cudnn-make" WITH_CUDNN=true
21     - BUILD_NAME="default-cmake" WITH_CMAKE=true
22     - BUILD_NAME="python3-cmake" WITH_CMAKE=true WITH_PYTHON3=true
23     - BUILD_NAME="cudnn-cmake" WITH_CMAKE=true WITH_CUDNN=true
24     - BUILD_NAME="cudnn-python3-cmake" WITH_CMAKE=true WITH_CUDNN=true WITH_PYTHON3=true
26 cache:
27   apt: true
29 before_install:
30   - source ./scripts/travis/defaults.sh
32 install:
33   - sudo -E ./scripts/travis/install-deps.sh
34   - ./scripts/travis/setup-venv.sh ~/venv
35   - source ~/venv/bin/activate
36   - ./scripts/travis/install-python-deps.sh
38 before_script:
39   - ./scripts/travis/configure.sh
41 script:
42   - ./scripts/travis/build.sh
43   - ./scripts/travis/test.sh
45 notifications:
46 # Emails are sent to the committer's git-configured email address by default,
47 # but only if they have access to the repository.  To enable Travis on your
48 # public fork of Caffe, just go to travis-ci.org and flip the switch on for
49 # your Caffe fork.  To configure your git email address, use:
50 #     git config --global user.email me@example.com
51   email:
52     on_success: always
53     on_failure: always
55 # IRC notifications disabled by default.
56 # Uncomment next 5 lines to send notifications to chat.freenode.net#caffe
57 #   irc:
58 #     channels:
59 #       - "chat.freenode.net#caffe"
60 #     template:
61 #       - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"