Bo-Yi Wu
3b8e934178
feat: testing in go 1.10 version. ( #3899 )
7 years ago
techknowlogick
3adcfaae49
pass secrets to drone build step for docker ( #3879 )
7 years ago
Bo-Yi Wu
0b9a567f93
chore: simplify docker build process. ( #2827 )
* chore: simplify docker build process.
* chore: update docker plugin.
7 years ago
Antoine GIRARD
a3c72d33ec
Add swagger check ( #3811 )
7 years ago
Kim "BKC" Carlbäcker
2eb42f083f
Update source installation requirements ( #3124 )
* Update source installation requirements
We require Golang 1.8 since we use `net/url.PathEscape` which was not introduced until then
* Use Golang 1.8 for build and test
If we state Golang 1.8 we should test using that version as well
* Use golang 1.8 only for single build to see if everything compiles
* Change back edge also for commented out sqlite test
7 years ago
Lauris BH
b1376d21a4
Move build without gcc step up so that it's binary is not used in docker ( #3147 )
7 years ago
Ethan Koenig
ba9a6b4f3f
Restore make test target ( #3139 )
* Restore make test target
* make build -> go build
7 years ago
Lunny Xiao
7ab95030b7
Fix missing drone test on release/* ( #3126 )
* fix missing drone test on release/*
* remove test coverage on release/*
7 years ago
techknowlogick
f2eb9d4c5e
use unique name for docs docker build step in CI ( #3018 )
Otherwise drone may combine the logs
7 years ago
techknowlogick
7676acf7a1
Fix master build for docs docker ( #3004 )
7 years ago
techknowlogick
6d55581b9d
Import docs into main repository ( #2874 )
* import docs into main repository
Signed-off-by: Matti Ranta <matti@mdranta.net>
7 years ago
Bo-Yi Wu
69f5c65135
change the email and name to GitBot account. ( #2848 )
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
Lauris BH
7603638127
Fix removing backslash before quotes in translations ( #2831 )
7 years ago
Lunny Xiao
449bc66af7
fix update-translations on drone ( #2822 )
7 years ago
Lunny Xiao
dbd64fcdf0
Fix wrong translations ( #2818 )
* fix wrong translations
* fix tab on yml
7 years ago
Bo-Yi Wu
1870280441
add gitea remote in drone. ( #2817 )
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
Bo-Yi Wu
c4c43ab0c7
add remote name for git push. ( #2816 )
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
Jonas Franz
d1bc7eb443
Download and pushing translations ( #2727 )
* Download and pushing translations
* Adding empty line between build steps
7 years ago
Lauris BH
a7d4bf1ff7
Fix translation upload to crowdin ( #2599 )
7 years ago
Bo-Yi Wu
c3a6c60954
backport from v1.2 branch: add secrets for github release ( #2588 ) ( #2598 )
7 years ago
Morlinest
3236b495df
Add pre-build step for nodejs stuff ( #2581 )
7 years ago
Jonas Franz
ba5715cf99
Automatic update of translations ( #2585 )
* Adding build step for uploading translations
* Fixing crowdin project name
* Using crowdin plugin
* Changing secret name
* Adding pull: true
7 years ago
Lauris BH
06128efa55
Fix drone for tags ( #2573 )
7 years ago
silverwind
a47fc6e948
Use standard lessc and minify CSS using Node.js ( #2337 )
* Use standard lessc and minify CSS using Node.js
This changes the previous nonstandard `lessc` to the official one and
enables CSS minification via the clean-css module.
To build CSS, Node.js is required along with a `npm install` to get the
tools installed locally in node_modules so there is no dependency on
binaries in PATH. Benefits include:
- Allows one to have a standard lessc in PATH.
- Can now use command line switches on lessc.
- Minified CSS brings faster page load times and also has the benefit
of discouraging contributors from editing CSS directly.
To build CSS, Node.js is required along with a `npm install` to get the
tools installed locally based on the information in `package.json`.
The 'make stylesheet' task was modified to run without condition. This
makes it easier to work on the make task itself without having to delete
files.
Also fixes: https://github.com/go-gitea/gitea/issues/2198
* install node, npm and modules on drone
* .PHONY
* use 'minify' to minify CSS
7 years ago
Ethan Koenig
d93b5b7adf
Always run fmt check in CI ( #2546 )
7 years ago
Thomas Boerger
364ac91893
Added bucket name to s3 drone plugin ( #2505 )
7 years ago
Bo-Yi Wu
3f534a0471
add codecov.io service. ( #2493 )
* add codecov.io service.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* only PR or master branch (for coverage badge)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* update init
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
Lunny Xiao
aad1d7584a
fix release ( #2496 )
7 years ago
Antoine GIRARD
ee3e0725b0
Fix some tests : make coverage -> test ( #2492 )
* Fix test : make coverage -> test
* Refactor integration tests to be able to run them in parallel
* Add custom local repository temp path
7 years ago
Thomas Boerger
ee05536bb4
Hotfix for integration testing ( #2473 )
* Hotfix for integration testing
* Comment sqlite tests because of database locking issues
7 years ago
Thomas Boerger
1e2f7e2219
Changes for latest DroneCI ( #2362 )
7 years ago
Bo-Yi Wu
c2a604fbb6
Revert "Changes for latest DroneCI ( #2355 )" ( #2358 )
This reverts commit faf4b503b2
.
7 years ago
Thomas Boerger
d025b8328e
Changes for latest DroneCI ( #2355 )
7 years ago
Bo-Yi Wu
f9628565c7
ignore coverage steps. ( #2257 )
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Bo-Yi Wu
38edd27a3c
Add verify changed less-file step to Makefile ( #1861 )
8 years ago
Bo-Yi Wu
c468a13898
feat: upgrade drone docker image to support multi-stage build. ( #1732 )
* feat: upgrade drone docker image to support multi-stage build.
* update drone sig file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* update drone sig file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Ethan Koenig
24dfeef379
Skip sqlite integration in CI ( #2058 )
8 years ago
Bo-Yi Wu
218a4ecaaa
update drone discord plugin to 0.0.4 version ( #1992 )
* update drone discord plugin to 0.0.3 version
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* update to 0.0.4
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* update sig file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Ethan Koenig
245a19ec50
Coverage reports for integration tests ( #1960 )
8 years ago
Bo-Yi Wu
7b76ac3129
send notification if status changed
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Bo-Yi Wu
7a0ee5da76
switch gitter to discord for drone. ( #1971 )
* switch gitter to discord for drone.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* add event
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* only notify build fail message.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Kim "BKC" Carlbäcker
4b979a120d
Don't run 'make release' on PRs ( #1908 )
8 years ago
Bo-Yi Wu
9a20c48a65
feat: add check misspelling ( #1877 )
8 years ago
Bo-Yi Wu
d9f0fe189f
fix: only run test coverage on master branch. ( #1838 )
8 years ago
Ethan Koenig
2cf1c5801c
Only run coverage on merges/pushes to master ( #1783 )
8 years ago
Ethan Koenig
0f7ec16367
MySQL, Postgres integration tests in drone ( #1638 )
* MySQL, Postgres integration tests in drone
* Fix .drone.yml
* sign drone
* resign drone
8 years ago
Sandro Santilli
e14f30c45b
Limit clone depth when drone-building ( #1644 )
* Limit clone depth when drone-building
* sign drone
8 years ago
Ethan Koenig
b94a7b190c
Integration test framework ( #1290 )
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
8 years ago
Antoine GIRARD
9298677f8e
Check if missing/modified/unused deps in vendor and fix errors ( #1468 )
* Check if missing deps in vendor
This will catch import from other repos. (maybe by auto-import)
* Remove github.com/smartystreets unused deps
* Remove github.com/boltdb/bolt unused dep
* Fetch github.com/go-xorm/core + sync gopkg.in/ldap.v2/ldap.go
* Auto-install govendor + reinstall github.com/boltdb/bolt needed by vendor/github.com/blevesearch/bleve/index/store/boltdb
* Update go-xorm/xorm to a5cb21 in vendor.json
* Use a custom repo for implementing change to bolt dep.
* Switching bolt to github.com/go-gitea/bolt
* Switching bolt to github.com/go-gitea/bolt (fork version)
* change the drone sign
8 years ago
Thomas Boerger
7a10b91fa1
Fixed drone builds
8 years ago