-
-
Notifications
You must be signed in to change notification settings - Fork 205
/
Copy path.travis.yml
29 lines (23 loc) · 855 Bytes
/
.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
sudo: required
dist: xenial
os: linux
language: php
php:
- '7.4'
before_install:
- ./build/install_dependencies_ubuntu.sh
# - echo "extension=sqlite3.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# - echo "extension=pdo_sqlite.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
install:
# do not build the entire solution; there are windows projects included
# - dotnet build ./Peachpie.sln
# build the Sdk/compiler:
- dotnet build ./src/Peachpie.NET.Sdk/
# install NuGets to NuGet cache:
- dotnet restore ./build/dummy -p:DisableImplicitPeachpieReferences=true
# compile tests:
- dotnet build ./tests -c Release
script:
- dotnet test ./src/Tests/Peachpie.Runtime.Tests/Peachpie.Runtime.Tests.csproj
- dotnet test ./src/Tests/Peachpie.DiagnosticTests/Peachpie.DiagnosticTests.csproj
- ./build/runtests.sh