-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
77 lines (63 loc) · 1.5 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Automatically generated by nengo-bones, do not edit this file directly
language: python
python: 3.9
notifications:
email:
on_success: change
on_failure: change
cache: pip
dist: xenial
env:
global:
- SCRIPT="test"
- TEST_ARGS=""
- BRANCH_NAME="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
jobs:
include:
-
env:
SCRIPT="static"
-
env:
SCRIPT="docs"
addons:
apt:
packages:
- pandoc
before_install:
# export travis_terminate for use in scripts, from here:
# https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/bash/travis_terminate.bash
- export -f travis_terminate
_travis_terminate_agent
_travis_terminate_freebsd
_travis_terminate_linux
_travis_terminate_osx
_travis_terminate_unix
_travis_terminate_windows
# upgrade pip
- pip install pip --upgrade
# install/run nengo-bones
- pip install git+https://github.com/nengo/nengo-bones#egg=nengo-bones
- bones-generate --output-dir .ci ci-scripts
- bones-check --verbose
# display environment info
- pip freeze
install:
- .ci/$SCRIPT.sh install
- pip freeze
before_script:
- .ci/$SCRIPT.sh before_script
script:
- .ci/$SCRIPT.sh script
before_cache:
- .ci/$SCRIPT.sh before_cache
after_success:
- .ci/$SCRIPT.sh after_success
after_failure:
- .ci/$SCRIPT.sh after_failure
before_deploy:
- .ci/$SCRIPT.sh before_deploy
after_deploy:
- .ci/$SCRIPT.sh after_deploy
after_script:
- .ci/$SCRIPT.sh after_script