-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.travis.yml
27 lines (27 loc) · 1.47 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
language: node_js
node_js:
- stable
services:
- docker
before_script:
- npm install -g gitbook-cli
- mkdir -p /opt/athena
- wget -qO- "https://github.com/athena-oss/athena/archive/v0.10.3.tar.gz" | tar --strip-components 1 -zx -C "/opt/athena"
- ln -s "$TRAVIS_BUILD_DIR" "/opt/athena/plugins/php"
- touch /opt/athena/plugins/base/athena.lock
- export PATH=$PATH:/opt/athena
- mkdir -p /opt/bashunit
- wget -qO- "https://github.com/athena-oss/bashunit/archive/v0.3.2.tar.gz" | tar --strip-components 1 -zx -C "/opt/bashunit"
- export PATH=$PATH:/opt/bashunit
script:
- ATHENA_DIR="/opt/athena" bashunit tests/cli
- athena php unit tests/unit
- athena php --php-version=7.1 unit tests/unit
after_success:
- docs/publish_docs
cache:
directories:
- $(npm config get prefix)/bin/gitbook
env:
global:
secure: Y+RBmb+foQ0lTkkZKZ/0fwfXy7vz8q09mqDwS0uId1IjbSJW7XRIyfzjJBwnVP/lpfZjBX9NuaeLnLyu9kuifAfhbSTTBA/xPGXNTpVmo0u8rxgAO5qCflKWfeENg+YzbpVOnmrQR75aD62pB1PpQhOVByVrmwIt5qD5pQLPt0M7Ri6TWGDq/2ylx+ZF1oxx4feNtnrs0fHlJU+mnX4sEqalCTdcMVEvjGbfA8X4Ax9mvCzMxc9y1neMYC8FFs2awrWYZ5o8hekdfh9lQ4vNSrxQ4TtKpPhDEiRIQP2KqTtKKo2zjMdeNrIJkGDzRqUqzuxArIgGX0l2HPAjM0l4RUQ3worEINZcbDyBU+jXcm9y8EHHQIo3fIgB6FuVVGLwG40x2JuDogL/4iSJGqy/UIekWLKzyHkb+NRyjP2tA9k/tUxHNKEzsfJd4wn+Sjyoj96T6IahkUbSNQDFKmXjz88RrIwYAckUqRjKcq32zRnXXVYBs49ObB+opjkp61ctVA8ZHpNtmjEV6f+9By7PiPUorQ+bQFfG/M1GLjXpuOBmMN4uEd4f7OXVjg75eLCMMbKUOgPgBl4WcWV+6PeP5qO5L4mc+WJZYVsflcoWa6znbrL0OFNrFaOeVfObS+eZNqyLBiJ+MOc/qw9aEyelVP48QhTPwnmOGm6z/hh931k=