@@ -17,7 +17,6 @@ only_commits:
17
17
18
18
image :
19
19
- Visual Studio 2019
20
- - Ubuntu
21
20
22
21
# Set build info
23
22
environment :
@@ -27,59 +26,27 @@ environment:
27
26
PGPASSWORD : Password12!
28
27
AssentNonInteractive : true
29
28
IGNORE_NORMALISATION_GIT_HEAD_MOVE : 1
29
+ mssql_instance : localhost\SQL2017
30
+ scenario : windows
31
+
32
+ services :
33
+ - mssql2017
34
+ - mysql
35
+ - postgresql
36
+
37
+ before_build :
38
+ - ps : .\build\build_prep.ps1
39
+ build_script :
40
+ - ps : .\build\build.ps1 -Script .\build.cake
41
+ after_build :
42
+ - ps : .\build\copy_build_files.ps1
43
+
44
+ before_test :
45
+ - SET PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
46
+ - psql -c "CREATE USER sa WITH SUPERUSER PASSWORD 'Password12!';" -U postgres
47
+ - ps : .\tests\pester.prep.ps1
30
48
31
- for :
32
- - matrix :
33
- only :
34
- - image : Visual Studio 2019
35
- environment :
36
- mssql_instance : localhost\SQL2017
37
- scenario : windows
38
- services :
39
- - mssql2017
40
- - mysql
41
- - postgresql
42
- before_build :
43
- - ps : .\build\build_prep.ps1
44
- build_script :
45
- - ps : .\build\build.ps1 -Script .\build.cake
46
- after_build :
47
- - ps : .\build\copy_build_files.ps1
48
-
49
- before_test :
50
- - SET PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
51
- - psql -c "CREATE USER sa WITH SUPERUSER PASSWORD 'Password12!';" -U postgres
52
- - ps : .\tests\appveyor.prep.ps1
53
-
54
-
55
- - matrix :
56
- only :
57
- - image : Ubuntu
58
- environment :
59
- mssql_instance : localhost
60
- scenario : all
61
- TZ : GMT
62
- services :
63
- - mssql
64
- - mysql
65
- - postgresql
66
- before_test :
67
- - sudo -u postgres psql -c "CREATE USER sa WITH SUPERUSER PASSWORD 'Password12!';"
68
- - ps : .\tests\appveyor.prep.ps1
69
- - docker run --name dbops-oracle -d -p 1521:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g-r2
70
-
71
- after_test :
72
- - ps : .\tests\appveyor.post.ps1
73
49
test_script :
74
- - ps : .\tests\appveyor.pester.ps1
75
- # Collecting results
76
- - ps : .\tests\appveyor.pester.ps1 -Finalize
77
-
78
-
79
- # Set alternative clone folder
80
- # clone_folder: c:\github\dbops
81
-
82
-
83
-
84
- # on_finish:
85
- # - ps:
50
+ - ps : .\tests\ci.pester.ps1 -Type SqlServer, Postgresql, MySQL -Tag UnitTests, IntegrationTests, ComplianceTests
51
+ - ps : .\tests\install_dependencies.ps1 -Load -Type SqlServer, Postgresql, MySQL
52
+ - ps : .\tests\ci.pester.ps1 -Type SqlServer, Postgresql, MySQL -Tag FunctionalTests
0 commit comments